Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-09-2008, 05:47 AM
Knightmare1 Knightmare1 is offline
Billy Allan
Knightmare1's Avatar
Join Date: Apr 2007
Posts: 804
Knightmare1 can only hope to improve
Health System

im creating a health system for my server, and i was wondering, how do you make sure that when you damage a player that you can tell you killed them. this is what i have so far. I only spent a couple of minutes, and i was wondering, can anyone help me? i am not to good at scripting. and the server is gonna have a ranking system ( like ranks for each class. ) and class system. im still working on everything, because i have no staff xD

PHP Code:
function onActionServerSide() 

 if (
params[0] == "hurt"
 { 
  
clientr.hp -= clientr.weapon_damage;
 } 
 elseif (
params[0] == "dead")
 {
  
clientr.hp 0;
  
clientr.deaths += 1;
 }
 elseif (
params[0] == "kill")
 {
  
clientr.kills_@clientr.weapon += 1;
  
clientr.exp += 4;
  
clientr.message "You have killed " @temp.player_hit;
 }
 elseif (
params[0] == "revive")
 {
  
clientr.hp clientr.hp_max;
  
setlevel2("final_osl.nw"3030);
 }
}

//#CLIENTSIDE
function onCreated()
{
 
clientr.hp 100;
 
clientr.hp_max 100;
 
clientr.deaths 0;
 
clientr.kills 0;
 
setTimer0.05 );

__________________
I am the devil, I am here to do to devils work.
Reply With Quote
  #2  
Old 02-09-2008, 05:51 AM
oo_jazz_oo oo_jazz_oo is offline
Jazz teh Awesome
oo_jazz_oo's Avatar
Join Date: Jul 2006
Location: California
Posts: 596
oo_jazz_oo is a jewel in the roughoo_jazz_oo is a jewel in the rough
Send a message via MSN to oo_jazz_oo
Well, you could just do
PHP Code:
if (params[0] == "hurt")  
 {  
  
clientr.hp -= clientr.weapon_damage;
  if (
clientr.hp <= 0)
  {
    
clientr.dead 1;
    
clientr.deaths += 1;
  }
 } 
And have a timeout check for clientr.dead in the clientside part of the script, and if it equals 1, then freeze the player or w/e for when hes dead.
And btw, you need to set the clientr. flags serverside.

Edit: I worded it wrong, sorry
Reply With Quote
  #3  
Old 02-09-2008, 03:13 PM
Knightmare1 Knightmare1 is offline
Billy Allan
Knightmare1's Avatar
Join Date: Apr 2007
Posts: 804
Knightmare1 can only hope to improve
Jazz, i meant how do i find the player whos im attacking. like if i attack some player, how would i make them get hurt.
this is what i have so far:
PHP Code:
function onActionServerSide() 

 if (
params[0] == "hurt"
 { 
  
clientr.hp -= temp.player.clientr.weapon_damage;
 } 
 elseif (
params[0] == "dead")
 {
  
clientr.hp 0;
  
clientr.dead 1;
  
clientr.deaths += 1;
 }
 elseif (
params[0] == "kill")
 {
  
clientr.kills_@clientr.weapon += 1;
  
clientr.kills += 1;
  
clientr.exp += 4;
  
clientr.message "You have killed " @temp.player_hit;
 }
 elseif (
params[0] == "revive")
 {
  
clientr.hp clientr.hp_max;
  
setlevel2("final_osl.nw"3030);
 }
 elseif (
params[0] == "attack")
 {
  
temp.player.clientr.hp -= clientr.weapon_damage;
 }
}

//#CLIENTSIDE
function onCreated()
{
 
clientr.hp 100;
 
clientr.hp_max 100;
 
clientr.deaths 0;
 
clientr.kills 0;
 
clientr.dead 0;
 
setTimer0.05 );
}

function 
onTimeOut()
{
 if (
keydown(s))
 {
  
setAni("clientr.ani_attack","");  
  if (
temp.player.player.1.5 && temp.player.player.1.5 && temp.player.player.1.5 && temp.player.player.-1.5)
  {
   
triggerserver(gui,this.name,temp.player.account,"attack");
   if (
temp.player.clientr.hp == 0)
   {
    
triggerserver(gui,this.name,player.account,"kill");
   }
  }
 }
 if (
clientr.dead 1)
 {
  if (
keydown(r))
  {
   
triggerserver(gui,this.name,"revive");
  }
 }

__________________
I am the devil, I am here to do to devils work.

Last edited by Knightmare1; 02-09-2008 at 03:24 PM..
Reply With Quote
  #4  
Old 02-09-2008, 05:06 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Well, you can't access other player's clientr. flags tho..

So, instead of checking for a player clientside, you would simple do a triggeraction()

Then if a player is hit (not the one swinging the sword), you check in.. for example 'onActionHit()' and in there, set anis and trigger serverside to remove some of their health
__________________
Reply With Quote
  #5  
Old 02-09-2008, 06:03 PM
Knightmare1 Knightmare1 is offline
Billy Allan
Knightmare1's Avatar
Join Date: Apr 2007
Posts: 804
Knightmare1 can only hope to improve
Quote:
Originally Posted by Chompy View Post
Well, you can't access other player's clientr. flags tho..

So, instead of checking for a player clientside, you would simple do a triggeraction()

Then if a player is hit (not the one swinging the sword), you check in.. for example 'onActionHit()' and in there, set anis and trigger serverside to remove some of their health
i don't understand what you mean...
__________________
I am the devil, I am here to do to devils work.
Reply With Quote
  #6  
Old 02-11-2008, 01:46 AM
The_Kez The_Kez is offline
N-Pulse Asst. Manager
The_Kez's Avatar
Join Date: Dec 2007
Posts: 106
The_Kez is on a distinguished road
Send a message via MSN to The_Kez
Take your onCreated function and move it to the serverside. Also for important flags like that, regardless of the fact that they are clientr. it' a good idea to base64encode them when you're finished with testing.

For checking if a player will die:

temp.dmg = 5; //replace 5 with desired damage
if ( clientr.hp - temp.dmg <= 0 ) //If this is true the player will die.
clientr.hp -= temp.dmg;

Last edited by The_Kez; 02-11-2008 at 01:47 AM.. Reason: Typo
Reply With Quote
  #7  
Old 02-11-2008, 02:54 AM
Tigairius Tigairius is offline
The Cat
Tigairius's Avatar
Join Date: Jan 2007
Location: Missouri, USA
Posts: 4,240
Tigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant future
Quote:
Originally Posted by Knightmare1 View Post
Jazz, i meant how do i find the player whos im attacking. like if i attack some player, how would i make them get hurt.
this is what i have so far:

He means to send a triggeraction when you press S, and then have it detect it, probably something like this:

PHP Code:
function onActionServerSide() 

 if (
params[0] == "hurt"
 { 
  
clientr.hp -= temp.player.clientr.weapon_damage;
 } 
 elseif (
params[0] == "dead")
 {
  
clientr.hp 0;
  
clientr.dead 1;
  
clientr.deaths += 1;
 }
 elseif (
params[0] == "kill")
 {
  
clientr.kills_@clientr.weapon += 1;
  
clientr.kills += 1;
  
clientr.exp += 4;
  
clientr.message "You have killed " @temp.player_hit;
 }
 elseif (
params[0] == "revive")
 {
  
clientr.hp clientr.hp_max;
  
setlevel2("final_osl.nw"3030);
 }
 elseif (
params[0] == "attack")
 {
  
temp.player.clientr.hp -= clientr.weapon_damage;
 }
}
function 
onCreated()
{
 
clientr.hp 100;
 
clientr.hp_max 100;
 
clientr.deaths 0;
 
clientr.kills 0;
 
clientr.dead 0;

function 
onActionHit(acct) {
  
player.chat "I've been hit by" SPC acct;
  
clientr.hp -= temp.player.clientr.weapon_damage;
}
//#CLIENTSIDE
function onKeyPressed() {
  if (
keydown(5)) {
    
setAni(clientr.ani_attack"");  
    
triggeraction(player.vecx(player.dir) * 1.5player.vecy(player.dir) * 1.5"Hit"player.account);
  }

__________________


“Shoot for the moon. Even if you miss, you'll land among the stars.”
Reply With Quote
  #8  
Old 02-11-2008, 03:15 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Quote:
Originally Posted by The_Kez View Post
Take your onCreated function and move it to the serverside. Also for important flags like that, regardless of the fact that they are clientr. it' a good idea to base64encode them when you're finished with testing.
No, you don't need to be encoding clientr. flags.
__________________
Reply With Quote
  #9  
Old 02-11-2008, 10:01 AM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
PHP Code:
if (min(clientr.hp - [temp.damage]) =< 0) {
  
//Is dead
} else {
  
clientr.hp -= temp.damage;

You shouldn't use a timeout either...
__________________
Reply With Quote
  #10  
Old 02-12-2008, 08:20 AM
The_Kez The_Kez is offline
N-Pulse Asst. Manager
The_Kez's Avatar
Join Date: Dec 2007
Posts: 106
The_Kez is on a distinguished road
Send a message via MSN to The_Kez
Quote:
Originally Posted by Inverness View Post
No, you don't need to be encoding clientr. flags.
All it takes is one corrupt staffer, especially when it's being stored where he's storing it.
Maloria had problems with staffers leveling up the first time simply by editing clientr. flags and not being caught, and could have easily prevented this with encryption.
Reply With Quote
  #11  
Old 02-12-2008, 08:51 AM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
Quote:
Originally Posted by The_Kez View Post
All it takes is one corrupt staffer, especially when it's being stored where he's storing it.
Maloria had problems with staffers leveling up the first time simply by editing clientr. flags and not being caught, and could have easily prevented this with encryption.
That's what they get for putting the actual value where RC could easily edit it.
Reply With Quote
  #12  
Old 02-12-2008, 09:03 AM
The_Kez The_Kez is offline
N-Pulse Asst. Manager
The_Kez's Avatar
Join Date: Dec 2007
Posts: 106
The_Kez is on a distinguished road
Send a message via MSN to The_Kez
Quote:
Originally Posted by Twinny View Post
That's what they get for putting the actual value where RC could easily edit it.
I don't even think the MUD system was available back in that day. And callstacks definitely weren't. Even so, there were better places to store it back then then in an available clientr. var.

Last edited by The_Kez; 02-12-2008 at 09:04 AM.. Reason: Typo
Reply With Quote
  #13  
Old 02-12-2008, 05:23 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
If you're that paranoid, encode it ... but why?

If someone wants to they can delete the whole server with access to a single level. base64encode would be incredibly easy to break anyway.

Just don't give any staff edit attributes.
__________________
Reply With Quote
  #14  
Old 02-12-2008, 08:48 PM
The_Kez The_Kez is offline
N-Pulse Asst. Manager
The_Kez's Avatar
Join Date: Dec 2007
Posts: 106
The_Kez is on a distinguished road
Send a message via MSN to The_Kez
Quote:
Originally Posted by cbkbud View Post
If you're that paranoid, encode it ... but why?

If someone wants to they can delete the whole server with access to a single level. base64encode would be incredibly easy to break anyway.

Just don't give any staff edit attributes.

That was not the problem. Anyone with access to a single test level can edit clientr flags if they are not encoded. Not everyone with a single test level has access to delete the entire server. It has nothing to do with edit attributes.

Callstacks also solve this problem, but back then callstack access was not available.

Also, there are ways to use base64encode that are more difficult to break then simply saying var = base64encode(var).
Reply With Quote
  #15  
Old 02-12-2008, 09:01 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
Solution: not to hire someone that resonates as corrupt!
__________________
Reply With Quote
  #16  
Old 02-12-2008, 09:13 PM
The_Kez The_Kez is offline
N-Pulse Asst. Manager
The_Kez's Avatar
Join Date: Dec 2007
Posts: 106
The_Kez is on a distinguished road
Send a message via MSN to The_Kez
Quote:
Originally Posted by xAndrewx View Post
Solution: not to hire someone that resonates as corrupt!
Haha, in a perfect world right =p
Reply With Quote
  #17  
Old 02-12-2008, 10:59 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by The_Kez View Post
That was not the problem. Anyone with access to a single test level can edit clientr flags if they are not encoded. Not everyone with a single test level has access to delete the entire server. It has nothing to do with edit attributes.

Callstacks also solve this problem, but back then callstack access was not available.

Also, there are ways to use base64encode that are more difficult to break then simply saying var = base64encode(var).
Skyld made an encryption example, look around.
Quote:
Originally Posted by xAndrewx View Post
Solution: not to hire someone that resonates as corrupt!
Not true. Their brother could get on. Or you yourself could be corrupt. I think the only solution is suicide.
__________________
Reply With Quote
  #18  
Old 02-12-2008, 11:38 PM
The_Kez The_Kez is offline
N-Pulse Asst. Manager
The_Kez's Avatar
Join Date: Dec 2007
Posts: 106
The_Kez is on a distinguished road
Send a message via MSN to The_Kez
Quote:
Originally Posted by cbkbud View Post
Skyld made an encryption example, look around.
True, I saw it. I would probably use it to say...encrypt my insecure clientr. variables so said staffer's brother doesn't come on and start adding people tons of experience/max hp.
Reply With Quote
  #19  
Old 02-13-2008, 12:21 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by The_Kez View Post
True, I saw it. I would probably use it to say...encrypt my insecure clientr. variables so said staffer's brother doesn't come on and start adding people tons of experience/max hp.
Paranoid one. clientr variables don't need encryption. Just focus on a system of detecting cheating. Much easier.
__________________
Reply With Quote
  #20  
Old 02-13-2008, 12:33 AM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
How about you just use clientr vars for reading and not for storing? Much simpler.
__________________
Do it with a DON!
Reply With Quote
  #21  
Old 02-13-2008, 02:37 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Quote:
Originally Posted by The_Kez View Post
True, I saw it. I would probably use it to say...encrypt my insecure clientr. variables so said staffer's brother doesn't come on and start adding people tons of experience/max hp.
Uh, hello in there?

Changes like that are logged in logs/rclog.txt
__________________
Reply With Quote
  #22  
Old 02-13-2008, 04:25 AM
The_Kez The_Kez is offline
N-Pulse Asst. Manager
The_Kez's Avatar
Join Date: Dec 2007
Posts: 106
The_Kez is on a distinguished road
Send a message via MSN to The_Kez
Quote:
Originally Posted by zokemon View Post
How about you just use clientr vars for reading and not for storing? Much simpler.
Exactly. I wouldn't use clientr. variables to store things such as experience or health power.
Reply With Quote
  #23  
Old 02-13-2008, 04:29 AM
The_Kez The_Kez is offline
N-Pulse Asst. Manager
The_Kez's Avatar
Join Date: Dec 2007
Posts: 106
The_Kez is on a distinguished road
Send a message via MSN to The_Kez
Quote:
Originally Posted by Inverness View Post
Uh, hello in there?

Changes like that are logged in logs/rclog.txt
Again, I'm talking about scripts that edit clientr. variables, not editing attributes via RC.

Either way, if you want to store important information the old fasion way, and then not secure it, be my guest. Your data, not mine. Again, I wouldn't even store this sort of information in a clientr. in the first place.
Reply With Quote
  #24  
Old 02-13-2008, 04:35 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by The_Kez View Post
I wouldn't even store this sort of information in a clientr. in the first place.
Good for you >.<
__________________
Reply With Quote
  #25  
Old 02-13-2008, 04:57 AM
The_Kez The_Kez is offline
N-Pulse Asst. Manager
The_Kez's Avatar
Join Date: Dec 2007
Posts: 106
The_Kez is on a distinguished road
Send a message via MSN to The_Kez
Quote:
Originally Posted by cbkbud View Post
Paranoid one. clientr variables don't need encryption. Just focus on a system of detecting cheating. Much easier.
Encryption is a tool in that box. No one said you have to keep your data secure. If you want to bank on cheat detection methods because writing an encryption that takes 6-7 lines is too hard or isn't worth your time, it's your data.
Reply With Quote
  #26  
Old 02-13-2008, 05:07 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Ideally, you shouldn't have to worry about staff even making scripts to edit clientr variables.
__________________
Reply With Quote
  #27  
Old 02-13-2008, 05:12 AM
The_Kez The_Kez is offline
N-Pulse Asst. Manager
The_Kez's Avatar
Join Date: Dec 2007
Posts: 106
The_Kez is on a distinguished road
Send a message via MSN to The_Kez
Quote:
Originally Posted by Inverness View Post
Ideally, you shouldn't have to worry about staff even making scripts to edit clientr variables.
Ideally, yeah. ;[
But unfortunately after what happend on Maloria I don't think that if you're gonna store this sort of thing in a clientr. variable, that it's worth the risk of leaving it decryted.
Reply With Quote
  #28  
Old 02-13-2008, 08:24 AM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Ideally, only server administrators should have access to RC on classic servers and all other staff should work on Dev servers.
__________________
Do it with a DON!
Reply With Quote
  #29  
Old 02-13-2008, 09:07 AM
The_Kez The_Kez is offline
N-Pulse Asst. Manager
The_Kez's Avatar
Join Date: Dec 2007
Posts: 106
The_Kez is on a distinguished road
Send a message via MSN to The_Kez
Quote:
Originally Posted by zokemon View Post
Ideally, only server administrators should have access to RC on classic servers and all other staff should work on Dev servers.
Yeah. Though, one of the people editing clientr. flags on maloria back in the GS1 days was a department Chief. =(
So ideally everyone's data NPCs would be scripted securely.
Reply With Quote
  #30  
Old 02-13-2008, 09:52 AM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Quote:
Originally Posted by The_Kez View Post
Yeah. Though, one of the people editing clientr. flags on maloria back in the GS1 days was a department Chief. =(
So ideally everyone's data NPCs would be scripted securely.
Department Chiefs aren't server administrators. Believe me, I know all about the history of Maloria. I have first-hand experience.
__________________
Do it with a DON!
Reply With Quote
  #31  
Old 02-13-2008, 09:56 AM
Tigairius Tigairius is offline
The Cat
Tigairius's Avatar
Join Date: Jan 2007
Location: Missouri, USA
Posts: 4,240
Tigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant future
Quote:
Originally Posted by zokemon View Post
Ideally, only server administrators should have access to RC on classic servers and all other staff should work on Dev servers.
Lol, Ol' West isn't even classic and that's how we do it.
__________________


“Shoot for the moon. Even if you miss, you'll land among the stars.”
Reply With Quote
  #32  
Old 02-13-2008, 01:50 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
You forget that someone scripts the encryption, and, face it, more scripters are corrupt than any other group of developers

Atleast the ones I've seen.
__________________
Reply With Quote
  #33  
Old 02-13-2008, 05:33 PM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Quote:
Originally Posted by cbkbud View Post
You forget that someone scripts the encryption, and, face it, more scripters are corrupt than any other group of developers

Atleast the ones I've seen.
Actually, I was always more worried about level designers. But that was probably do to the fact that on almost every project I work on, I almost never hire another scripter to work on the project besides my self.

So if scripters are corrupt and you want a good solid encryption system, the only solution seems that only servers created by a scripter would solve this issue since a server creater probably wouldn't screw the economy up or cheat on the server that he/she created.

At least, I know I wouldn't.
__________________
Do it with a DON!
Reply With Quote
  #34  
Old 02-13-2008, 06:49 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by zokemon View Post
Actually, I was always more worried about level designers. But that was probably do to the fact that on almost every project I work on, I almost never hire another scripter to work on the project besides my self.

So if scripters are corrupt and you want a good solid encryption system, the only solution seems that only servers created by a scripter would solve this issue since a server creater probably wouldn't screw the economy up or cheat on the server that he/she created.

At least, I know I wouldn't.
Except that generally levelers don't know much code except the basics -- hide(), show(), sleep(), drawunderplayer(), message(), etc.
__________________
Reply With Quote
  #35  
Old 02-13-2008, 08:18 PM
The_Kez The_Kez is offline
N-Pulse Asst. Manager
The_Kez's Avatar
Join Date: Dec 2007
Posts: 106
The_Kez is on a distinguished road
Send a message via MSN to The_Kez
Quote:
Originally Posted by cbkbud View Post
Except that generally levelers don't know much code except the basics -- hide(), show(), sleep(), drawunderplayer(), message(), etc.
clientr.exp += 20;
That's all they have to know how to write lol. What's awesome is it's just those types of people who you're normally protecting from. People who only know how to do simple commands aren't going to bother trying to decode your protected data, even if it's a simple one line encryption.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:56 PM.


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