Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   **important Urgent Bug Stefan Plz Fix!** (https://forums.graalonline.com/forums/showthread.php?t=31125)

Yakuna2001 06-08-2002 03:43 AM

**important Urgent Bug Stefan Plz Fix!**
 
ok, since v2.14, we havent been able to jail or ban free accoutns unless we diconnected them and set it offline, it seems now what you have done is made it so everytime a free account connects, they get reset, meaning they cant be jaile,dneither on, or offline. so if a trial account hacks, were basically powerless to do anything. ok, fine we can ban offline still, but say if someone swears a few times, not really a bannable offence, but he cant be jailed so we got no choice!! please fix this its very annoying >.<

Spanko 06-08-2002 03:50 AM

Weird, trial accounts aren't supposed to even be able to hack.

A way of managing it though could be ading a server. string (array) which stores a bunch of account names which it should memorize as that they should be jailed on log on. Unfortunately that wouldn't work too well if too many people hack on a trial account.

Yakuna2001 06-08-2002 04:53 AM

Quote:

Originally posted by Spanko
Weird, trial accounts aren't supposed to even be able to hack.

A way of managing it though could be ading a server. string (array) which stores a bunch of account names which it should memorize as that they should be jailed on log on. Unfortunately that wouldn't work too well if too many people hack on a trial account.

well, technically its pointless, because they get reset when they log on, but the point is, they can do it, and it lasts as long as they are online :O but its the swearing and other jailing reasons which are mroe of a problem, as most hackers are banned anyway, and that isnt the problem im having :-/

zell12 06-08-2002 05:49 AM

Well, you can't even edit their account, you have to reset them....
And to ban them, you got to ipban them =/

mikepg 06-08-2002 06:26 AM

for jailing players
 
put this in a system weapon that is added when a player enters onlinestartlocal.graal or your main starting level:

NPC Code:

// Server Side Section of -system
if (actionserverside) {
if (strequals(#p(0),jailplayer)) {
with (getplayer(#p(1))) setlevel2 30,30,jail.graal;
}
}



NPC Code:

//#CLIENTSIDE
for (this.i=0; this.i<=sarraylen(serverr.jailedplayers); this.i++;) {
if (strequals(#a,#I(serverr.jailedplayers,this.i)) {
triggeraction 0,0,serverside,-system,jailplayer,#a;
}
}



Then, when you want a player to be jailed,
edit the serverr.jailedplayers string via Server Flags (RC/NC), or use a NPC to do it.

Problem Solved.

Admins 06-08-2002 06:59 AM

All servers are restarted, could you test now (banning trial players when they are online) ?

Yakuna2001 06-08-2002 07:02 AM

Re: for jailing players
 
Quote:

Originally posted by mikepg
put this in a system weapon that is added when a player enters onlinestartlocal.graal or your main starting level:

NPC Code:

// Server Side Section of -system
if (actionserverside) {
if (strequals(#p(0),jailplayer)) {
with (getplayer(#p(1))) setlevel2 30,30,jail.graal;
}
}



NPC Code:

//#CLIENTSIDE
for (this.i=0; this.i<=sarraylen(serverr.jailedplayers); this.i++;) {
if (strequals(#a,#I(serverr.jailedplayers,this.i)) {
triggeraction 0,0,serverside,-system,jailplayer,#a;
}
}



Then, when you want a player to be jailed,
edit the serverr.jailedplayers string via Server Flags (RC/NC), or use a NPC to do it.

Problem Solved.

sure problem sovled, unless you dont have npc server num nuts!

Yakuna2001 06-08-2002 07:05 AM

Quote:

Originally posted by Stefan
All servers are restarted, could you test now (banning trial players when they are online) ?
yes, banning now works online. what about jailing though? perhaps make it so that it saves a certain flag if the player was in a jail level, and so will not reset if it has that jail flag?

BBflat 06-17-2002 08:11 PM

Re: Re: for jailing players
 
Quote:

Originally posted by Yakuna2001

sure problem sovled, unless you dont have npc server num nuts!

You don"t need the NPC Server if you want to jail people at login via the server strings. Every time you want to jail someone, add them to the server string that stores the jailed people. Then just loop through it when someone enters onlinestartlocal.graal, or whatever your start level is, and jail them if they are in the list.

Falcor 06-17-2002 08:49 PM

Why loop something when it only needs one event? (playerenters)

Tyhm 06-17-2002 10:45 PM

That string would get very big, very fast...I'd sooner the editor be seperated from the executable.

BBflat 06-18-2002 01:38 AM

Quote:

Originally posted by Falcor
Why loop something when it only needs one event? (playerenters)
Huh? You tokenize the string and loop through it to see if a person's account is in it. This happens when someone enters the level.

Falcor 06-18-2002 02:15 AM

if(playerenters && lindexof(#a,server.banned) != -1) message Leik ure banned foo;

I don't see the loop .....

BBflat 06-18-2002 10:27 AM

Quote:

Originally posted by Falcor
if(playerenters && lindexof(#a,server.banned) != -1) message Leik ure banned foo;

I don't see the loop .....

What if the player's account is contained in a person's account that is jailed?

Tyhm 06-18-2002 11:57 PM

What concerns ME is that script kiddies have no trouble screwing with the Detention strings - do we REALLY want to put banning within their grasp? =_=


All times are GMT +2. The time now is 12:58 AM.

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