Jump to content

  •  

Z3R0's Content

There have been 18 items by Z3R0 (Search limited from 13-June 23)


Sort by                Order  

#63765 Run or Die event DRAW

Posted by Z3R0 on 05 October 2015 - 01:52 PM in Script Support

Maybe try

 

.register_count = 0;

sleep 5001;

killmonsterall .map$;




#63721 Run or Die event DRAW

Posted by Z3R0 on 04 October 2015 - 02:37 PM in Script Support

ah you have == 0 for getmapusers... that is wrong...

when a player dies... he is still on the map... you have the first check for greater than 1... your next check has to be <= 1....



#63668 how?

Posted by Z3R0 on 03 October 2015 - 12:28 AM in Script Support

if ur doing it via npc...

onpckillevent
getpartymembers ()
for loop
attachrid
class ()



#63588 Run or Die event DRAW

Posted by Z3R0 on 01 October 2015 - 12:49 PM in Script Support

no do not set register_count inside the loop itself both things I mentioned go on the OnPCDieEvent



#63578 Which rates do you prefer?

Posted by Z3R0 on 01 October 2015 - 05:14 AM in General Discussion

maybe so @Mysterious but to me it's the journey not the destination



#63563 Run or Die event DRAW

Posted by Z3R0 on 30 September 2015 - 07:18 PM in Script Support

add killmonsterall to end of OnPCDieEvent and set .register_count to 0 so the while () no longer works



#63562 Ghost Palace Script

Posted by Z3R0 on 30 September 2015 - 07:14 PM in Script Support

wouldn't this be a request not for support?



#63460 koe give reward to all player when click exit npc

Posted by Z3R0 on 28 September 2015 - 07:12 PM in Script Support

It's quite simple actually ;)

 

if ($koegid) && getcharid(2) == $koegid)

   getitem etc...

   getitem etc...

 

is your problem...

 

IF statements without wrapping { } will only trigger on the NEXT command and anything afterwards is just a normal command...

 

so players (non guildies) are getting every item EXCEPT the one directly below the IF statement... Wrap the entire getitem contents in { }

 

if ($koegid && getcharid(2) == $koegid) {

    getitem etc...  

    getitem etc...

    getitem etc...

}




#63379 command

Posted by Z3R0 on 26 September 2015 - 03:44 PM in Script Support

Question... Are only 30 people able to accept the quest? first come, first serve? is there something the players must do in order to be allowed to accept the given quest? Can you please be a little more specific? This is very easily able to be done, however a little more information is necessary




#63352 Which rates do you prefer?

Posted by Z3R0 on 25 September 2015 - 11:42 PM in General Discussion

1-5x anything else is ridiculous



#63306 Z3R0 Here ;)

Posted by Z3R0 on 24 September 2015 - 03:15 PM in Introductions

woot :) hey @TecnoCronus




#63224 Z3R0 Here ;)

Posted by Z3R0 on 21 September 2015 - 02:13 PM in Introductions

thanks guys



#63115 Dynamic Switch Statement with choices

Posted by Z3R0 on 19 September 2015 - 10:43 PM in Script Support

Few things off the top of my head...

 

.@category = select
    (
    "Option 1",
    "Option 2",
    "Option 3"
    ) - 1;

 

// Is setting the .@category to a ZERO based index... where .@category is 0 to 2

 

.@quest_size = getd( ".quest_id_"+.@category+"_size" );

 

// Is setting .@quest_size to .quest_id_(0-2)_size (0 doesn't exist...)

 

There's probably more but that should be a start...




#63114 Z3R0 Here ;)

Posted by Z3R0 on 19 September 2015 - 10:39 PM in Introductions

There's a name I haven't seen in quite some time. Still into being a developer huh? I know the feeling. Nice to see your back. :)

 

 

Yes wow. Welcome back. I used to refer to your work quite abit trying to learn scripting, as well as bookmarking your php scriptcommands page. But that was way back in eA days. Glad to see you re-entering the RO scene. It seems people who leave (myself included) always come back to this wonderful game and community.

Welcome back.

 @Rytech Yep! It's been a while, definitely already getting into the game...

 

@GmOcean Of course, I have been off and on with eAthena, rAthena, and now Hercules! It's great to be back in the Community once again :) ... I'm looking at making a new commands setup, if you're interested ;) I have been doing a lot of webdev on the side, so I will probably start making it tonight




#63036 Z3R0 Here ;)

Posted by Z3R0 on 18 September 2015 - 02:38 AM in Introductions

Welcome :)
I have seen you for past few days xD , remember?

 Yes 'em :) I remember ;)


yes it's me mysterious the one and only.. good to see u again emistry... don't know what plug-ins are... I been outta the loop need someone to catch me up on things

Hahah okay good ;). We created a Plugin System here at Hercules  (we only have this system) that pretty much allows people to create code without affecting the main source files (i.e. implement commands, functions): http://herc.ws/board...plugin-manager/

 

Tell me more, I read a bit about it from the post... but is it a repository type system? can someone host a github of "plugins" and update via it ?




#63032 Z3R0 Here ;)

Posted by Z3R0 on 18 September 2015 - 12:29 AM in Introductions

yes it's me mysterious the one and only.. good to see u again emistry... don't know what plug-ins are... I been outta the loop need someone to catch me up on things



#63027 Z3R0 Here ;)

Posted by Z3R0 on 17 September 2015 - 10:47 PM in Introductions

Much appreciated man ;) It's definitely good to be back... Can't wait to see what's changed and get back into the game!

 

It's been a long time, but I have been told Herc is the new wave of the RO Future ;)




#63024 Z3R0 Here ;)

Posted by Z3R0 on 17 September 2015 - 10:31 PM in Introductions

Hey guys!

 

   Most of you probably don't know me, but I am happy to be back!

 

   Looking to help in NPC Scripting Support and hopefully come up with some new and improved concepts! I miss it!

 

   ;)