ID:179786
 
How can i make it to when you macro an attack verb you get kiked out and how to i make it so you cant say anything above like 50 letters in one talk
Thanx



~\Richter/~
why would we tell u either of those we like those
In response to King of Wind
What's this "we"? I, for one, do not like spam (Sam I am). You may like spam, hot greasey slimey spam, but most people do not...

Um, the first one...dunno...brains fried right now... As for the second one... try something like this:

verb/say(msg as text)
if(length(msg) > 50) // check for the length of the message
alert("Your message is too long! Keep it under 50 characters please!")
else
world << "[usr]: [msg]"
In response to Xooxer
There is curently no way of preventing macroing(that I know of), I believe its a far ways down the list, if it ever happens.

Alathon
In response to Alathon
i dont want to prevent it i just want to make it so if you macro you will get kiked off
i have seen it on a game before so i know it can be done i juts dont know where to start
In response to Richter
As a side note, in a case like this if you cant prevent it how can you kick someone for it? Are you sure this wasnt done manually by someone with the power to? Once again, im not entirely sure theres no way to check if they are executing a macro they defined, but im pretty sure there isnt.

Alathon
In response to Richter
You could kick them if a verb is called too many times in a certain period of time, but wouldn't it be better just to stop them from using the skill more than once in a given time period?
In response to Alathon
Alathon wrote:
As a side note, in a case like this if you cant prevent it how can you kick someone for it? Are you sure this wasnt done manually by someone with the power to? Once again, im not entirely sure theres no way to check if they are executing a macro they defined, but im pretty sure there isnt.

Alathon


Of course you can, you'd have to override every macro possible though and that would just be unnessary work (You'd have to do them all because why knows what they set them too!)..


In response to Nadrew
You cant override client-side macroes as far as I know

Alathon
In response to Alathon
Alathon wrote:
You cant override client-side macroes as far as I know

Alathon


Make a script file use something along the lines as


macro
A
Boot()
macro
B
Boot()

Etc.. etc...
In response to Nadrew
Lets see how many I would have to make. There can be between 1 and x(not sure) letters in a macro, which means I would have to make a script for the following


macro
a/Boot()
b/Boot()
etc...
aa/Boot()
bb/Boot()
etc...
aab/Boot()
bba/Boot()
etc....


Get where I goin? :P
In response to Alathon
Alathon wrote:
Lets see how many I would have to make. There can be between 1 and x(not sure) letters in a macro, which means I would have to make a script for the following


macro
a/Boot()
b/Boot()
etc...
aa/Boot()
bb/Boot()
etc...
aab/Boot()
bba/Boot()
etc....


Get where I goin? :P

That's why you write a program to write that program :).
In response to Theodis
Theodis wrote:
Alathon wrote:
Lets see how many I would have to make. There can be between 1 and x(not sure) letters in a macro, which means I would have to make a script for the following


macro
a/Boot()
b/Boot()
etc...
aa/Boot()
bb/Boot()
etc...
aab/Boot()
bba/Boot()
etc....


Get where I goin? :P

That's why you write a program to write that program :).



I have no programming experience (besides DM) so that's out of the picture for me.
In response to Nadrew
DM can write to files.. why not use it?


Besides, using DM to create DM is just darn cool.

-AbyssDragon
In response to AbyssDragon
AbyssDragon wrote:
DM can write to files.. why not use it?


Besides, using DM to create DM is just darn cool.

-AbyssDragon

DM code to write DM code to write DM code...... Keep doing that recursivly and see what you get :).
In response to Theodis
What would be really cool is a DM compiler written in DM.

-AbyssDragon
In response to AbyssDragon
AbyssDragon wrote:
What would be really cool is a DM compiler written in DM.

-AbyssDragon

A C++ compiler written in DM to compile DM :).
In response to Theodis
You people are making my head hurt!!
In response to Theodis
As an aside, in The Art of Computer Programming, volume 1 there is the source code for a compiler for a fictional* language (MIX), written in that fictional language. I find that immensely cool.



*The language was fictional when the book was written, in that no compiler for it existed. There is one now, mainly for people to do the examples in the book.

-AbyssDragon
In response to Nadrew
well, to make a program to do that(make a script to override every possible macro) you would need a Brute-force cracker, and an extense knowledge of API
beacuse most bruteforcers have this thingy that letts you do every possible combination from a to zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz(but it would take a LONG time)

Page: 1 2