-
Posts
177 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by Bisuke
-
-
23 hours ago, Technoken said:
Try
- script tesqweqweast -1,{ OnInit: initnpctimer; end; OnTimer5000: stopnpctimer; deletearray .players; addrid(5,1,"guild_vs1"); .players[getarraysize(.players)] = getcharid(3); detachrid; while( .@i < getarraysize(.players) ){ if( attachrid( .players[.@i] ) ) if( HP && compare( strcharinfo(3),"guild_vs1" ) ) .@alive++; .@i++; } if( .@alive ){ initnpctimer; end; } deletearray .players; announce "Players are all the dead",0; mapwarp "guild_vs1","prontera",155,181; end; }
Thank you for this reply, but I tried this code and it seems that the code is not working.
-
17 minutes ago, crazyarashi said:
I dont know what event is that but you can use getmapuser to get the number of players inside :)) and if someone die just use OnPCDieEvent to warp them out :))
The Thing is, I don't want to warp them out of the map. It's a survival event, and players are allowed to resurrect other players. However, I want to create a script that will active as soon as all the players are dead, the event will be closed and all the dead players will be warped out.
-
Is there a way where I can script my event where it detects if the players inside the map "guild_vs1" are still alive every x number of seconds?
-
How can I set the maximum damage reflected by Reflect Shield and Reject Sword? I want to set the maximum damage to equal to the caster's HP.
Thanks!
-
I finally get to try this on my test server, however there's an error that says, missing 3 curly. I tried adding the closing curlies to the first 3 conditional statement:
if(BaseLevel > 85){ set .@Reset, 100000, 100000, 90000, 0; } else if(BaseLevel > 75){ set .@Reset, 75000, 75000, 70000, 0;} else if(BaseLevel > 45){ set .@Reset, 50000, 50000, 50000, 0;}
However, A new error occured, unexpected ";".
-
Thanks Stolao! Big help!
-
Our server is experiencing log.c:266 - INSERT DELAYED INTO `picklog` problem in our database, how to fix this?
-
Can I request for a stat reset script that changes the price according to level?
1-45 - 10,000 (9,000 for both)
46-75 - 50,000 (45,000 for both)
76-85 - 75,000 (70,000 for both)
86-99 - 100,000 (95,000 for both)
Thanks in advance!
-
How to add EXP Bonus on a monster in a specific a map?
-
Make it an instance.
-
Can you import Maps and Models of Ragnarok to Unity?
-
If you could add a patcher feature in this awesome tool. that would be totally great!
-
2.5.4.18 works for me really well, no error encountered.
-
Hello there, I just want to ask if how can I create a custom mob with job sprites riding in a peco peco.
I tried using "Job_Lord_Knight2 4014" for the Peco Knight but it is not working. It does create a mob with LK without peco.
Anyone knows what ID should I use?
Bump.. Please help.
-
Oo, taasan mo lang ung sa plist.txt mo. Yun lang mali nun.
-
Thanks! It is working!
-
Please, paki elaborate mo ng mas maayos ung problema niyo po. Tama po ba ito, Ang problem niyo is ayaw mag download ng latest patch niyo? Pero ung old patches eh na dodownload.
If that is the case, tignan niyo po ung plist.txt niyo, baka po hindi na kalagay dun ung latest thor patch niyo. Dapat po ung last value nung patch niyo is ung pinakamataas lagi.
-
Using getmapusers just returns the number of players inside the map.
-
Hello there, I just want to ask for an NPC that gives items to all the players that are in the same map. Thanks in advance!
-
I just tested it, It did not work. Thanks anyways.
-
I am just wondering if there's some patch for the @itemparty command? I just want to use it on my Party quest script. Thanks!
-
Anybody? What is wrong in my script? Am I missing some codes?
-
So here's what I did. I copied the Orc's Memorial Instance Warper and modified it to make my own warper. So far, I made 2 npcs, 1st to create instance and to enter the dungeon, 2nd is to destroy the instance and end the quest. I'm also wondering, I never used any ordinary warp command on my script, It uses instance_enter. I also made another quest entry on questdb.
-
Yes. I defined it.
4,Payon Cave Inferno,14400,paydun1,21,181,paydun2,paydun3,paydun4,paydun5
Detect if the players inside the map are all dead
in Scripting Support
Posted
Oh, I see, Thank you again, @Technoken and @Stolao This weekend, I will try again your codes, I haven't had the time to test it properly because of my schedule. I'll let you know the results.