Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Scripting: RC/old Commands (https://forums.graalonline.com/forums/showthread.php?t=23196)

zell12 02-07-2002 01:55 AM

Scripting: RC/old Commands
 
Ok, I have been getting some problems on Mithica, when I use npc's that use:
if (playerenters) {
toweapon npc;
}
When a player gets it, is d/c's them and says they got illgal data from there connection, How can you stop this?

Also, what are the Scripting commands that don't work anymore..

TDO2000 02-07-2002 02:37 AM

NPC weapon has no image...

just give it an image and everything should be fine...

LiquidIce00 02-07-2002 03:05 AM

Quote:

Originally posted by Kaimetsu
Has it suddenly recently got an NPC Server or something?
nono but similar idea..

you will need to have if (playerenters&&!isweapon)
or some other kind of arguments in there
u cant just have if (playerenters) anymore. It thinks that a person has hacked a weapon. So just put
if (playerenters&&!isweapon) { toweapons MahK3wlWep; }

zell12 02-07-2002 03:19 AM

Thankz Liquid, i'll try that.. also, one more thing, how do I set a noplayerkilling zone to a playerkilling one...

TDO2000 02-07-2002 03:23 AM

Quote:

Originally posted by zell12
Thankz Liquid, i'll try that.. also, one more thing, how do I set a noplayerkilling zone to a playerkilling one...
remove the noplayerkilling in the NPC setting it????

zell12 02-07-2002 03:26 AM

I know that, im just asking if there is a plyerkilling or a command that unsets it

TDO2000 02-07-2002 03:28 AM

Quote:

Originally posted by zell12
I know that, im just asking if there is a plyerkilling or a command that unsets it
one word: no

Goboom 02-07-2002 08:57 AM

Quote:

Originally posted by TDO2000
one word: no
Actually that was 3 words and 1 symbol...
1. one
2. word
3. :
4. no

nyghtGT 02-07-2002 12:08 PM

Re: Scripting: RC/old Commands
 
Quote:

Originally posted by zell12
Ok, I have been getting some problems on Mithica, when I use npc's that use:
if (playerenters) {
toweapon npc;
}
When a player gets it, is d/c's them and says they got illgal data from there connection, How can you stop this?

Also, what are the Scripting commands that don't work anymore..

toweapons*

royce 02-07-2002 12:41 PM

make a toweapons script that uses true and false strings or flags enabling and disabling weaps when true or false.

Saga2001 02-07-2002 03:46 PM

i think stefan should kill that illegal data thing, cause the glitch that enabled people to do that stuff is gone now with new version...so whats its use? it just makes me sad and d/cs people when they don't have the image...

nyghtGT 02-07-2002 03:50 PM

Quote:

Originally posted by Saga2001
i think stefan should kill that illegal data thing, cause the glitch that enabled people to do that stuff is gone now with new version...so whats its use? it just makes me sad and d/cs people when they don't have the image...
and when i use trainers and such it totally messes me up when i get on another server ...
j/k

zell12 02-08-2002 01:43 AM

Alright, thanks guys, that, aww, helped a... lot :rolleyes:

Saga2001 02-08-2002 02:04 AM

Quote:

Originally posted by nyghtGT

and when i use trainers and such it totally messes me up when i get on another server ...
j/k

lol


All times are GMT +2. The time now is 01:32 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.