[Help Thread] Please post your questions here.

04/08/2016 09:45 .BlackCat.#5626
Quote:
Originally Posted by rapmike1 View Post
needing a bit of help on how to do a on dead script on a World Boss so when players kill it the whole server would get buffs or a item added to there CS box any help would be nice tyvm

I don't think it's possible since there is no commands in game to add items to CashShop box .
04/08/2016 14:40 CHlNAMAN#5627
Quote:
Originally Posted by rapmike1 View Post
needing a bit of help on how to do a on dead script on a World Boss so when players kill it the whole server would get buffs
cast_world_state

add_event_state
04/09/2016 21:00 bertie2008#5628
If I use this command I teleport to layer 1
run_warp(135435, 104800, 1, "char_name")

However adding the coordinates and ,1 to the Teleporter ports me to layer 0, I can't get it to port me to layer 1
04/10/2016 09:17 CHlNAMAN#5629
Quote:
Originally Posted by bertie2008 View Post
If I use this command I teleport to layer 1
run_warp(135435, 104800, 1, "char_name")

However adding the coordinates and ,1 to the Teleporter ports me to layer 0, I can't get it to port me to layer 1
/run warp(x, y, layer, charname)
/run warp(x, y, layer)
/run warp(x, y, charname)
04/10/2016 12:24 bertie2008#5630
Quote:
Originally Posted by Leqendary View Post
/run warp(x, y, layer, charname)
/run warp(x, y, layer)
/run warp(x, y, charname)
Thanks mate but this is my problem, if i use GM command:
/run warp(148620, 13221, 1, "name")

I go to the correct place, however I want to add this to the teleporter, I used this code:
dlg_menu( "Name\v#@price@#\v250000", 'RunTeleport( 250000 , 148620 , 13221 ,1 )' ) but I land in layer 0

I need to go to layer 1 like the gm command
04/10/2016 17:07 CHlNAMAN#5631
Can you provide us with the RunTeleport() function?
04/10/2016 22:05 bertie2008#5632
Quote:
Originally Posted by bertie2008 View Post
Thanks mate but this is my problem, if i use GM command:
/run warp(148620, 13221, 1, "name")

I go to the correct place, however I want to add this to the teleporter, I used this code:
dlg_menu( "Name\v#@price@#\v250000", 'RunTeleport( 250000 , 148620 , 13221 ,1 )' ) but I land in layer 0

I need to go to layer 1 like the gm command
I add
dlg_menu( "Name\v#@price@#\v250000", 'RunTeleport( 250000 , 148620 , 13221 ,1 )
to the teleport town lua, when I click in game, on this option I get taken to the correct coordinates but the incorrect layer, it takes me to layer 0, I need to get to layer 1
04/10/2016 22:50 ThunderNikk#5633
Last I had worked on anything to do with layers was when I found out I could only teleport to different layers if I was teleporting to places on trainee island.

I think this was because trainee island was set up in instances. it may also work the same way for Ursa caverns.

Make sure the layer you are trying to teleport to that is not layer 0 has been set up to work in instances.

This may be the only way to get it working.
04/10/2016 23:56 CHlNAMAN#5634
The proper usage of RunTeleport function is:
Quote:
RunTeleport(ruppee price, x, y)
That function doesn't let you specify a layer. It always teleports you to layer 0. You might want to try the warp command instead:
Quote:
warp(x, y, layer)
Quote:
warp(x, y, "charname", layer)
04/11/2016 10:04 bertie2008#5635
Quote:
Originally Posted by Leqendary View Post
The proper usage of RunTeleport function is:

That function doesn't let you specify a layer. It always teleports you to layer 0. You might want to try the warp command instead:

Thanks guys, I am trying to setup PW to work, layer 0 has Easter wonderland mobs already whereas layer 1 has none so I could populate it.

I looked on another private server and have noticed that his teleporter teleports to different layers, one goes to layer 1 and another to layer 4 i also noticed that he has an extra function, he has (cost, x, y, layer, difficulty)

Will try as suggested using the warp command
04/13/2016 01:32 abo gasem#5636
Hi,
I would learn how i control my sever,
I need some advice
I'm Beginner
04/13/2016 01:46 ThunderNikk#5637
I think your questions may have to get a little more specific.

I am not sure what you are asking.
04/14/2016 16:49 king1king#5638
help

I can't open my server

auth and CaptainHerlock work100%

[Only registered and activated users can see links. Click Here To Register...]
04/14/2016 17:23 CHlNAMAN#5639
Make sure your auth.opt settings are correct. You fail to connect to the login server.
04/15/2016 05:53 rapmike1#5640
is there a way to set up a sell all npc that will sell all items dura or non dura useing the wear_type from itemresource in the db?

like

if wear_type = 9 ?