Graal Forums  

Go Back   Graal Forums > PlayerWorlds > PlayerWorlds Main Forum
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-28-2005, 09:13 PM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
NPCS in playerworlds

as you all must know i just started a playerworld, Playerworld13, or soon to be Dark Rival
anyway, all the NPCs are messed up. can someone explain why?
Reply With Quote
  #2  
Old 07-28-2005, 10:00 PM
Curt1zzle Curt1zzle is offline
Starting not to love you
Curt1zzle's Avatar
Join Date: Sep 2003
Posts: 3,669
Curt1zzle has a spectacular aura about
Send a message via AIM to Curt1zzle
Can we be a bit more detailed?
__________________

This message has been deleted by Sam. Reason: you should better stop it now
Reply With Quote
  #3  
Old 07-28-2005, 10:15 PM
URBANLEGEND URBANLEGEND is offline
No sleep till brooklyn!
Join Date: Sep 2002
Location: USA
Posts: 775
URBANLEGEND is on a distinguished road
Send a message via ICQ to URBANLEGEND Send a message via AIM to URBANLEGEND Send a message via MSN to URBANLEGEND Send a message via Yahoo to URBANLEGEND
Why didnt you just keep all this **** in one thread? Christ. If you dont know what your doing you shouldn't of bought a playerworld
__________________
~Urban
Reply With Quote
  #4  
Old 07-29-2005, 12:41 AM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
i do know, and i will point out the fact that this worked flawlesslyy off line, but now the NPCs dont work...ex: Warp Rings do not warp, things do not change zoom or colors, or simply dont follow the script. it shouldn't be so hard just to put this online!
Reply With Quote
  #5  
Old 07-29-2005, 12:51 AM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
Quote:
Originally Posted by excaliber7388
i do know, and i will point out the fact that this worked flawlesslyy off line, but now the NPCs dont work...ex: Warp Rings do not warp, things do not change zoom or colors, or simply dont follow the script. it shouldn't be so hard just to put this online!
http://ilfirin.org/graal/NPC_Server
Reply With Quote
  #6  
Old 07-29-2005, 01:49 AM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
that did answer a few things, but the biggest question,now, would be how do i change the colors /size of the NPCs? setcoloreffect and setzoomeffect don't work
Reply With Quote
  #7  
Old 07-29-2005, 02:08 AM
Zurkiba Zurkiba is offline
Assimilated Zurkiba
Zurkiba's Avatar
Join Date: Jul 2001
Location: Georgia
Posts: 4,094
Zurkiba is on a distinguished road
Send a message via AIM to Zurkiba
//#clientside

//#serverside
__________________
___[Play Valikorlia]
Reply With Quote
  #8  
Old 07-29-2005, 02:14 AM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
Quote:
Originally Posted by Zurkiba
//#serverside
No.
Reply With Quote
  #9  
Old 07-29-2005, 02:39 PM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
hey i figured something out. its playerenters, compusdied,and the warps that don't work, any suggestions?
Reply With Quote
  #10  
Old 07-29-2005, 03:03 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
Hire staff! :-)
__________________
Reply With Quote
  #11  
Old 07-30-2005, 03:08 AM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
i now have the npcs working...i feel like a *****...it was so simple =/ anyway, the only problem is that the warps, or links, between the levels don't warp you. some work, some don't =/ i can't figure out whats wrong there yet. if you have suggestions feel free to help thx!
Reply With Quote
  #12  
Old 07-30-2005, 06:27 PM
kenyonandelliot kenyonandelliot is offline
Registered User
Join Date: May 2002
Posts: 1,017
kenyonandelliot is on a distinguished road
if they don't warp then fix them
Reply With Quote
  #13  
Old 07-30-2005, 09:26 PM
Matt Matt is offline
iZone Administrator
Matt's Avatar
Join Date: Apr 2005
Location: United States
Posts: 2,690
Matt is a jewel in the roughMatt is a jewel in the rough
Quote:
Originally Posted by excaliber7388
i now have the npcs working...i feel like a *****...it was so simple =/ anyway, the only problem is that the warps, or links, between the levels don't warp you. some work, some don't =/ i can't figure out whats wrong there yet. if you have suggestions feel free to help thx!
Make sure the level that you want the link to warp to is uploaded, and the extension is correct. Meaning if it's .nw put levelnamehere.nw

If you have more questions please feel free to pm me or just setup a support ticket and appoint the ticket to General Questions or Playerworlds.
__________________
Need Playerworld or Account support?
GraalOnline/Toonslab Support Center
Reply With Quote
  #14  
Old 07-31-2005, 12:12 AM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
i have re-uploaded the levels and that usually works, havn't ran into trouble since, but it's mostly the warprings that don't work here's the script im using,
(yes i am using the warper gani, i will be removing it though):
// NPC made by Excaliber
//#CLIENTSIDE
if (playerenters||playertouchsme&&!hasweapon(MainTown )) {toweapons Warp Rings/MainTown;hidelocal;}

if (weaponfired) {setplayerdir 2;seteffect 0,0,0,0;setani warper,;sleep 1;setani warperend,;setlevel2 main1_darkrival2.nw,5,13;}

if (created) {dontblock;
}

its REALLY simple, so i don't get why it doesn't work online, it's perfect offline

Last edited by excaliber7388; 07-31-2005 at 03:36 AM..
Reply With Quote
  #15  
Old 07-31-2005, 10:23 AM
Polo Polo is offline
Classic Systems Admin
Join Date: Sep 2002
Location: Vancouver, Canada
Posts: 735
Polo is on a distinguished road
Send a message via AIM to Polo
setlevel2 only works serverside if I remember correctly.
__________________
Be good little players, or Master Storm will ban you!



Proof that the staff are crazy..
*Ghost Pirate: I'm a little teacup short and stubbe here is my raygun here is my butt
DragonX: Jumping jack rabbits Batman! Our eggo waffles have been stolen! To the batmobile Robin!
X-Mann (RC): I have a head ache
Reply With Quote
  #16  
Old 07-31-2005, 11:39 AM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Obey these rules in all of your code.
__________________
Skyld
Reply With Quote
  #17  
Old 07-31-2005, 05:11 PM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
ok, what should be used instead of setlevel? or setlevel2?
Reply With Quote
  #18  
Old 07-31-2005, 05:57 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
if (actionserverside){
if (strequals(#p(0),warp)){
setlevel2 #p(1),#p(2),#p(3);
}
}
//#CLIENTSIDE
if (weaponfired){
triggeraction 0,0,serverside,weapon,warp,level,x,y;
}
__________________
Reply With Quote
  #19  
Old 07-31-2005, 07:17 PM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
nope doesn't work theres an error
Reply With Quote
  #20  
Old 07-31-2005, 07:22 PM
Bl0nkt Bl0nkt is offline
Era Developer
Bl0nkt's Avatar
Join Date: Mar 2005
Location: Pennsylvania
Posts: 1,589
Bl0nkt will become famous soon enough
Send a message via AIM to Bl0nkt
Quote:
Originally Posted by excaliber7388
nope doesn't work theres an error
Change #p(2) to strtofloat(#p(2)). Same goes for #p(3).

Also be sure to change weapon in the triggeraction to the name of the weapon this script is in.
Reply With Quote
  #21  
Old 07-31-2005, 08:00 PM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
still doesn't work this is the script i am currently using, yes it still has setlevel2 in it, but i can't get the other way to work, whats wrong with it?:
// NPC made by Excaliber (Manager)
//#CLIENTSIDE
if(playerenters){
toweapons Warp Rings/Warper1;
hidelocal}
if(weaponfired){
freezeplayer 2;
play thunder.wav;
setplayerdir 2;
setani drwarp,;
sleep .1;
for (i=0;i<21;i++) {
seteffect i/20,i/20,i/20,i/20;sleep .05}
{sleep 1;
seteffect 0,0,0,0;
setlevel2 warper.nw,31,31;}
}
Reply With Quote
  #22  
Old 07-31-2005, 08:15 PM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
Quote:
Originally Posted by xAndrewx
if (actionserverside){
if (strequals(#p(0),warp)){
setlevel2 #p(1),#p(2),#p(3);
}
}
//#CLIENTSIDE
if (weaponfired){
triggeraction 0,0,serverside,weapon,warp,level,x,y;
}
For one, you're trying to use strings as vars. For another that is insecure. Don't do this.
Reply With Quote
  #23  
Old 07-31-2005, 09:07 PM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
yes, but i'm not using that script it didn't work well anyway or at least i couldn't figure out how to make it work well whatever i use, it should work with seteffect and a gani, any suggestions? (here's the script again )

// NPC made by Excaliber (Manager)
//#CLIENTSIDE
if(playerenters){
toweapons Warp Rings/Warper1;
hidelocal}
if(weaponfired){
freezeplayer 2;
play thunder.wav;
setplayerdir 2;
setani drwarp,;
sleep .1;
for (i=0;i<21;i++) {
seteffect i/20,i/20,i/20,i/20;sleep .05}
{sleep 1;
seteffect 0,0,0,0;
setlevel2 warper.nw,31,31;}
}
Reply With Quote
  #24  
Old 08-01-2005, 12:05 AM
Bl0nkt Bl0nkt is offline
Era Developer
Bl0nkt's Avatar
Join Date: Mar 2005
Location: Pennsylvania
Posts: 1,589
Bl0nkt will become famous soon enough
Send a message via AIM to Bl0nkt
Quote:
Originally Posted by excaliber7388
yes, but i'm not using that script it didn't work well anyway or at least i couldn't figure out how to make it work well whatever i use, it should work with seteffect and a gani, any suggestions? (here's the script again )

// NPC made by Excaliber (Manager)
//#CLIENTSIDE
if(playerenters){
toweapons Warp Rings/Warper1;
hidelocal}
if(weaponfired){
freezeplayer 2;
play thunder.wav;
setplayerdir 2;
setani drwarp,;
sleep .1;
for (i=0;i<21;i++) {
seteffect i/20,i/20,i/20,i/20;sleep .05}
{sleep 1;
seteffect 0,0,0,0;
setlevel2 warper.nw,31,31;}
}
toweapons does not add a weapon to the player. It adds it to NC in RC.

addweapon Warp Rings/Warper1 (From what I understand, addweapon is detected as false offline. Try it on your server.)
Reply With Quote
  #25  
Old 08-05-2005, 04:32 PM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
still doesn't help is there another way i could warp a person without setlevel2? i think that might be the problem
Reply With Quote
  #26  
Old 08-05-2005, 05:37 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
Quote:
Originally Posted by Lance
For one, you're trying to use strings as vars. For another that is insecure. Don't do this.
Aha, I didn't know that. My mistake.
__________________
Reply With Quote
  #27  
Old 08-07-2005, 02:11 AM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
nvm i figured it out
Reply With Quote
  #28  
Old 08-07-2005, 02:06 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by Bl0nkt
toweapons does not add a weapon to the player. It adds it to NC in RC.
Ideally, this should be removed. Then people might not get it confused.
Reply With Quote
  #29  
Old 08-07-2005, 04:04 PM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
Quote:
Originally Posted by Bl0nkt
toweapons does not add a weapon to the player. It adds it to NC in RC.

addweapon Warp Rings/Warper1 (From what I understand, addweapon is detected as false offline. Try it on your server.)
Toweapons does give the player the weapon sometimes, and I can't get addweapon to work yet either

Last edited by excaliber7388; 08-07-2005 at 04:21 PM..
Reply With Quote
  #30  
Old 08-07-2005, 07:13 PM
Polo Polo is offline
Classic Systems Admin
Join Date: Sep 2002
Location: Vancouver, Canada
Posts: 735
Polo is on a distinguished road
Send a message via AIM to Polo
Quote:
Originally Posted by excaliber7388
Toweapons does give the player the weapon sometimes, and I can't get addweapon to work yet either
See in RC (Well, NC but meh) the W with a sword over it. hit that and add a weapon. Paste your script for your weapon (warper) in, except for all the toweapons stuff, give it an image file and save it. Now in an npc in your level, you use addweapon the add the weapon you saved earlier to the player. You should really do ALL your weapons and items this way. As it allows you to easily bug fix weapons from RC (NC)
__________________
Be good little players, or Master Storm will ban you!



Proof that the staff are crazy..
*Ghost Pirate: I'm a little teacup short and stubbe here is my raygun here is my butt
DragonX: Jumping jack rabbits Batman! Our eggo waffles have been stolen! To the batmobile Robin!
X-Mann (RC): I have a head ache
Reply With Quote
  #31  
Old 08-07-2005, 07:40 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by excaliber7388
Toweapons does give the player the weapon sometimes, and I can't get addweapon to work yet either
toweapons should not be used on a server. Only use it offline for testing.

As for addweapons, it adds a weapon to a player that is already in the Weapons list. It does not add weapons to the list and then to the player. Also, it will only work on the serverside.
Reply With Quote
  #32  
Old 08-08-2005, 01:48 AM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
hey thanks, as you all might know, i made this entire server (well, most of it) without knowledge of online scripting, and, for the most part, you guys have really helped thanks. If what you say is true, i shouldn't have (too ) many more errors, and won't be bothering everyone with so many posts i should be done some time this month (testing as well) so look foward to the improved Dark Rival, comming soon. hope to see you all there!
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 12:16 AM.


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