Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   adding server strings (https://forums.graalonline.com/forums/showthread.php?t=15061)

Warcaptain 10-21-2001 12:22 AM

adding server strings
 
on free servers, players are able to add server strings without doing putnpc, this needs to be fixed.

i am unable to load server flags on enigma cuz it is overloaded.

BocoC 10-21-2001 12:49 AM

?
What do you mean?

SagaTCN 10-21-2001 02:38 AM

Stefan made a post about this a few days ago. There's an option you can now add (in serveroptions.txt) which stops the addition of server strings. -Yin

Warcaptain 10-21-2001 04:12 AM

you could have posted a link to it..

SagaTCN 10-21-2001 04:20 AM

http://forums.graal2001.com/forums/s...threadid=14408

How about next time taking the initiative to actually search for things. -Yin

Admins 10-22-2001 02:26 AM

Yes but that new option only works on server
that have been restarted (restarting 25 servers
each time a little thing has been updated
is quite lot work)

Warcaptain 10-22-2001 03:13 AM

BUT stefan, i do need you to remove the hacked server strings from the server, we cant do it manualy.

Admins 10-22-2001 06:11 AM

I fixed everything yesterday
Now you only need to fix your weapons
to not do toweapon from a weapon

ownerofbabylon 10-22-2001 06:31 AM

they actually did that? it would be like:

if(weaponfired){
toweapon haha;
}
if(weaponfired){
toweapon hahah;
}

Tyhm 10-22-2001 10:28 AM

And make sure all your weapons have images set! Blank-image NPCs go to the server, but don't stick to the list or something....

SagaTCN 10-22-2001 10:02 PM

Quote:

Originally posted by Tyhm
And make sure all your weapons have images set! Blank-image NPCs go to the server, but don't stick to the list or something....
Yeah I noticed that :) it's weird

LiquidIce00 10-24-2001 02:09 AM

Quote:

Originally posted by Tyhm
And make sure all your weapons have images set! Blank-image NPCs go to the server, but don't stick to the list or something....

oooo , what do u mean ?

Tyhm 10-24-2001 05:33 AM

Pago had a weapon in the shark spar called *Swords Only, but it didn't have an image...so it'd load for the player, bounce to the server, the server would reject it because it didn't have an image, and I think the client would too, but regardless with the new antihack it goes to the server as an added weapon, doesn't match the one on the database, and so the player's kicked off.

Admins 10-25-2001 02:38 AM

Yes the server actually checks for the toweapons line in the script and also checks if the image of the npc (specified in the level file, not with setimg) really exists. In v2.1 it will be so that the
client doesn't add the weapon, and will only wait for the
server to send the script (back). It's more data than actually needed but more secure because then you cannot add weapons by doing cheating

Admins 10-25-2001 02:42 AM

Quote:

Originally posted by ownerofbabylon
they actually did that? it would be like:

if(weaponfired){
toweapon haha;
}
if(weaponfired){
toweapon hahah;
}

A more common 'error' is

NPC Code:

if (playerenters) toweapons Blabla;



That needs to be changed to

NPC Code:

if (playerenters && !isweapon) toweapons Blabla;


Saga2001 10-25-2001 11:41 AM

Quote:

Originally posted by Stefan


A more common 'error' is

NPC Code:

if (playerenters) toweapons Blabla;



That needs to be changed to

NPC Code:

if (playerenters && !isweapon) toweapons Blabla;


thanx stefan!
I had this problem and somebody who noticed it before me totally screwed up my npc becouse he didn't know what he was doing.


All times are GMT +2. The time now is 03:54 PM.

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