View Single Post
  #1  
Old 09-24-2006, 06:06 PM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Quote:
Originally Posted by Bl0nkt View Post
Just because you get free stuff doesn't mean it's better than Era. Your perspectives are way off as to how to run a good server.

It's good that there's no corruption (even though with Kuji as manager, I find this unbelievable and still fishy), but everything else is unoriginal. His plane isn't that impressive. He's using a timeout that increases x, y, and z according to a set variable accessed through a console. He's moving it serverside, thus making it jagged and ignoring the default "step, step, step, step" noises you hear when you move any non-character npc serverside. If it was that advanced, he'd use movement serverside with showcharacter() and calculate the average distance it moves each 0.05 seconds to display the actually plane clientside for visual effects.
Hey.. who is ready to see the script of outbreak by hachi?

You are in NO position to EVER EVER talk about scripting.. and you must not know me because I just work 24/7 to not profit myself on guns to kill others k? And I already said I didn't make majority of it... Rapid did.

PHP Code:
function onActionServerside(mode) {
  if (
mode == "TurnZombie") {
    if (
params[1] != "default") {
    }
  }

What was the point of putting mode there? You should have just used params[0] or:

PHP Code:
function onActionServerSide(mode)
{
  switch (
mode)
  {
    case 
"TurnZombie";
    {
      
// BLAH
      
break;
    }
  }

And theres tons more in there too =p.

Hey.. also whats timevar?

AND EVEN BETTER:

PHP Code:
//#CLIENTSIDE
function onCreated() { 
  if (
player.ismale)
    
this.zombieheads = {{"head222.png""cynober"}, {"head11.gif""white"}, {"head257.png""gray"}, {"head302.png""gray"}};
  else
    
this.zombieheads = {{"head306.gif""cynober"}};
  
  
this.levelslist = {
  
"era_event-rooftopsred-1.nw"
  
"era_event-rooftops2.nw"
    
"era_event-rooftopsred-2.nw"
    
"era_event-rooftopsred-3.nw"
    
"era_event-rooftopsred-4.nw"
    
"era_event-rooftopsred-5.nw"
    
"era_event-rooftopsred-6.nw"
    
"era_event-rooftopsred-7.nw"
    
"era_event-rooftopsred-8.nw"
    
"era_event-rooftopsred-9.nw"
    
"era_event-rooftopsred-library.nw"
    
"era_event-rooftopsred-elevator.nw"
    
"era_event-rooftops3.nw"
    
"era_event-rooftops2a.nw"
    
"era_event-rooftops2b.nw"
    
"era_event-rooftopsblack-1.nw"
    
"era_event-rooftopsblack-2.nw"
    
"era_event-rooftopsblack-3.nw"
    
"era_event-rooftopsblack-4.nw"
    
"era_event-rooftopsblack-5.nw"
    
"era_event-rooftopsblack-6.nw"
    
"era_event-rooftopsblack-7.nw"
    
"era_event-rooftopsblack-8.nw",
    
"era_event-rooftopsblack-moffice.nw"
    
};
    
    
  
triggeraction(00"serverside""*Outbreak""startgame");
  
triggeraction(00"serverside""*Outbreak""transfer"this.levelslist);
  
  
onTimeout();

So you double-trigger to the server on the creation of the weapon (and you should use:
PHP Code:
triggerserver("gui"this.name"startgame"); 
And on top of that why didn't you just do:
PHP Code:
if (player.level.starts("era_event-rooftops"))
{

Heres another good one:
PHP Code:
  if (mode == "eliminate") {
    
player.addMessage("Eliminated by" SPC params[1] @ ".""b"0);
    
updateEliminates(params[1], player.account);
    
player.guild "";
    
setlevel2("era_present_00-00.nw"7.546);
    
client.freeze 0;
    
onActionServerside("remove");
  } 
Calling it's own function.. genious!

Last edited by KuJi; 09-24-2006 at 06:23 PM..