Graal Forums  

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

 
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 07-19-2002, 03:07 PM
Spectre1337 Spectre1337 is offline
Banned
Spectre1337's Avatar
Join Date: Nov 2001
Location: United States
Posts: 790
Spectre1337 is on a distinguished road
Send a message via AIM to Spectre1337 Send a message via Yahoo to Spectre1337
Dumb Lag, NPCServer, annoying, shoot me

Nothing works with stupid NPC server. I cant use setlevel.. I am making a quest.. I cant use setlevel, I cant use lay2 'item' instead of warping to a room with a chest. Nothing works and I dont know how to fix it. And I was getting errors that said Client Spectre1337 added Baddy (hacker?) when I tried to add my new ice lizard baddy..

Well I deleted all my flags, weapons, and filled my chests and it finally allowed me to enter without getting disconnected. Other players had no problem.

What I would like to know is, with this stupid NPC Server, how do I warp players? Using setlevel2 or anything?
  #2  
Old 07-19-2002, 03:12 PM
Spectre1337 Spectre1337 is offline
Banned
Spectre1337's Avatar
Join Date: Nov 2001
Location: United States
Posts: 790
Spectre1337 is on a distinguished road
Send a message via AIM to Spectre1337 Send a message via Yahoo to Spectre1337
Toran, please get on RC and help me..
  #3  
Old 07-19-2002, 03:13 PM
Torankusu Torankusu is offline
Elite Member
Torankusu's Avatar
Join Date: Jun 2001
Posts: 10,065
Torankusu has a spectacular aura aboutTorankusu has a spectacular aura about
Uh,
setlevel2 = serverside.
NPC Code:

if (actionserverside)
setlevel2 level,x,y;

//#CLIENTSIDE
if (whatever){
triggeraction 0,0,serverside,weapon,;
}

  #4  
Old 07-19-2002, 03:15 PM
Domini Domini is offline
Wark!
Domini's Avatar
Join Date: Aug 2001
Location: Vancouver BC, Canada
Posts: 2,427
Domini is on a distinguished road
Send a message via AIM to Domini
DURR

NPC SERVER FORUM

DURRR
__________________
  #5  
Old 07-19-2002, 03:16 PM
Spectre1337 Spectre1337 is offline
Banned
Spectre1337's Avatar
Join Date: Nov 2001
Location: United States
Posts: 790
Spectre1337 is on a distinguished road
Send a message via AIM to Spectre1337 Send a message via Yahoo to Spectre1337
Quote:
Originally posted by Torankusu
Uh,
setlevel2 = serverside.
NPC Code:

if (actionserverside)
setlevel2 level,x,y;

//#CLIENTSIDE
if (whatever){
triggeraction 0,0,serverside,weapon,;
}

This may sound stupid, but that is over my head.. I've never worked with a NPC Server and had to do all this crap. My last job was at Delteria as a LAT. in about v2.05
  #6  
Old 07-20-2002, 12:47 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
only reason the npc server will lag for you:
1.) **** computer
2.) **** scripts
3.) you dont know what commands are which (Serverside or clientside)
4.) don't script serverside unless you know how to, you have shown you have no patience (sp?) and you will just get angryer(sp?) if you continue
  #7  
Old 07-22-2002, 03:50 PM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
Re: Dumb Lag, NPCServer, annoying, shoot me

Quote:
Originally posted by Spectre1337
Nothing works with stupid NPC server. I cant use setlevel.. I am making a quest.. I cant use setlevel, I cant use lay2 'item' instead of warping to a room with a chest. Nothing works and I dont know how to fix it. And I was getting errors that said Client Spectre1337 added Baddy (hacker?) when I tried to add my new ice lizard baddy..

Well I deleted all my flags, weapons, and filled my chests and it finally allowed me to enter without getting disconnected. Other players had no problem.

What I would like to know is, with this stupid NPC Server, how do I warp players? Using setlevel2 or anything?
I could be wrong but...
NPC Code:

if (actionserverwarp) {
setlevel2 #p(0),strtofloat(#p(1)),strtofloat(#p(2));
}
//#CLIENTSIDE
if (event) {
triggeraction 0,0,serverwarp,warptolevel,warptox,warptoy;
}


...should handle all your warping needs.
  #8  
Old 07-23-2002, 06:11 AM
doubleZ doubleZ is offline
Registered User
Join Date: Jul 2002
Location: In a tree
Posts: 8
doubleZ is on a distinguished road
Re: Re: Dumb Lag, NPCServer, annoying, shoot me

Quote:
Originally posted by nyghtGT

I could be wrong but...
NPC Code:

if (actionserverwarp) {
setlevel2 #p(0),strtofloat(#p(1)),strtofloat(#p(2));
}
//#CLIENTSIDE
if (event) {
triggeraction 0,0,serverwarp,warptolevel,warptox,warptoy;
}


...should handle all your warping needs.
I think u need to make the trigger action coordinates x,y =P. I dunno, i think it still works with 0,0, but i've always used x,y. hehe =D
__________________
- LiL PiXiE KiTiE - MeOw!

Cassidy ish all miiiiiiiiine, not yours =o!

My real account name that i play graal on is not doubleZ, its kittygirl765 ^_^, my friend let me keep her forum account, thanks cupo =D
  #9  
Old 07-23-2002, 06:24 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Re: Re: Re: Dumb Lag, NPCServer, annoying, shoot me

Quote:
Originally posted by doubleZ


I think u need to make the trigger action coordinates x,y =P. I dunno, i think it still works with 0,0, but i've always used x,y. hehe =D
he's triggering to the control-npc (in the npc database)
  #10  
Old 08-03-2002, 09:00 AM
IAMNOTAFREAK IAMNOTAFREAK is offline
Registered User
Join Date: May 2002
Location: IBM Stellar Sphere
Posts: 118
IAMNOTAFREAK is on a distinguished road
Send a message via ICQ to IAMNOTAFREAK Send a message via AIM to IAMNOTAFREAK
Quote:
Originally posted by Python523
only reason the npc server will lag for you:
1.) **** computer
2.) **** scripts
3.) you dont know what commands are which (Serverside or clientside)
4.) don't script serverside unless you know how to, you have shown you have no patience (sp?) and you will just get angryer(sp?) if you continue
my computer runs fine, but every single npc server lags for me...not terribly sometime, but bad enough for me to dislike them...
__________________
Crimson


Nocturne...it's coming.
  #11  
Old 08-22-2002, 01:27 AM
KrinKrin KrinKrin is offline
Registered User
Join Date: Aug 2002
Posts: 3
KrinKrin is on a distinguished road
lol

That means you have a bad connection speed or all the NPCServers youve been to are doing a poor job of keeping it lag-free.
  #12  
Old 08-22-2002, 10:27 PM
RavenTelvecho RavenTelvecho is offline
Registered User
RavenTelvecho's Avatar
Join Date: Apr 2002
Location: Toronto, Ontario, Canada
Posts: 0
RavenTelvecho is on a distinguished road
Send a message via ICQ to RavenTelvecho Send a message via AIM to RavenTelvecho Send a message via Yahoo to RavenTelvecho
Re: Re: Dumb Lag, NPCServer, annoying, shoot me

Quote:
Originally posted by Kaimetsu


Hi. The problem is actually that you're a stupid scripter.
__________________

^tuff newbie ;x
RavenTelvecho
!Booj
we are 'brothers'
  #13  
Old 08-23-2002, 07:23 AM
IAMNOTAFREAK IAMNOTAFREAK is offline
Registered User
Join Date: May 2002
Location: IBM Stellar Sphere
Posts: 118
IAMNOTAFREAK is on a distinguished road
Send a message via ICQ to IAMNOTAFREAK Send a message via AIM to IAMNOTAFREAK
Re: lol

Quote:
Originally posted by KrinKrin
That means you have a bad connection speed or all the NPCServers youve been to are doing a poor job of keeping it lag-free.
yeah, i do have a dialup, but the reg. pw's are usually fine (unless there's bad scripts that loops aimlessly forever, etc), and it's not just some npc-server pw's, it seems to be the majority...actually i think there was one pw that wasn't laggy at all...but now i don't remember which one it was, but im sure it's not always like that
__________________
Crimson


Nocturne...it's coming.
  #14  
Old 08-23-2002, 09:42 AM
emortylone emortylone is offline
Registered User
Join Date: Apr 2002
Location: Control-NPC
Posts: 834
emortylone is on a distinguished road
LOL, Never dis an NPC Server or the mighty Kaimetsu will open a can =P The NPC Server does not necessarily create a ton of LAG, but it can be laggy if your scripts suck x.X If you get to know it you'll love it XP. if you put:
NPC Code:

//#CLIENTSIDE
if (whatever)
{ triggeraction 0,0,serverwarp,;}


it will trigger the Control-NPC Serverside is the only thing that goes to the CURRENT NPC. If you put serverwarp, it goes to the control-npc. putting 0,0 as the x,y will make it go serverside btw.

NPC Code:

if (actionserverside)
{ setlevel2 onlinestartlocal.graal,30,30;
}
//#CLIENTSIDE
if (playerchats && strequals(#c,warp))
{ triggeraction 0,0,serverside,Ring1,;}


will make it warp the player to OSL @ 30,30 if the NPC Name is Ring1. Ta-da XP You're welcome, all part of the job =P
---Shifter
__________________
Quote:
*Stefan: it seems sometimes they hire newbie scripters everywhere x-x
*Stefan: scripters are sometimes like people that draw paintings
*Stefan: all that counts is that it looks nice
  #15  
Old 08-24-2002, 02:49 AM
user13-xo user13-xo is offline
Registered User
Join Date: Nov 2001
Location: California
Posts: 297
user13-xo is on a distinguished road
Send a message via AIM to user13-xo
Quote:
Originally posted by emortylone
LOL, Never dis an NPC Server or the mighty Kaimetsu will open a can =P The NPC Server does not necessarily create a ton of LAG, but it can be laggy if your scripts suck x.X If you get to know it you'll love it XP. if you put:
NPC Code:

//#CLIENTSIDE
if (whatever)
{ triggeraction 0,0,serverwarp,;}


it will trigger the Control-NPC Serverside is the only thing that goes to the CURRENT NPC. If you put serverwarp, it goes to the control-npc. putting 0,0 as the x,y will make it go serverside btw.

NPC Code:

if (actionserverside)
{ setlevel2 onlinestartlocal.graal,30,30;
}
//#CLIENTSIDE
if (playerchats && strequals(#c,warp))
{ triggeraction 0,0,serverside,Ring1,;}


will make it warp the player to OSL @ 30,30 if the NPC Name is Ring1. Ta-da XP You're welcome, all part of the job =P
---Shifter
The ring wouldnt work since the action part is part of the weapon The action would have to be in the control npc for that to work. But having that in the control npc isnt very good since it gets very confusing later.

NPC Code:

if (actionserverside) setlevel2 onlinestartlocal.graal,30,30;
//#CLIENTSIDE
if (weaponfired) {
triggeraction playerx+1.5,playery+2,serverside,Warp Ring,0;
}



If the weapon name is Warp Ring, the ring will warp the player to onlinestartlocal with the x and y at 30. That script is a weapon and nothing needs to be placed in the Control-NPC.
 


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 05:08 PM.


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