Jump to content

  •  

pixel

Member Since 24 May 2013
Offline Last Active Jul 28 2013 09:40 PM
-----

Topics I've Started

initnpctimer in function, it's possible to trigger?

28 July 2013 - 05:32 PM

Okay i have

 

prontera,155,180,5 script somenpc 89,{

do something bla bla bla;

callfunc "somefunc";

}

 

function script somefunc {

initnpctimer;

OnTime5000:

announce "blabla",bc_map,0x00cc00;

end;

OnTimer10000:

announce "blabla 10 seconds",bc_map,0x00cc00;

}

 

 please ignore my syntax i write it on fast hand, in real script it's have tabs, etc and server do not warning or telling about any wrong in my script. 

 

My problem:

initnpctimer do not triggered. Where is the problem?

OnTimer5000:

not work;

OnTImer10000;

not work too!

 

Help me. 

 

So Initnpctimer in functions is possbile to trigger or nope?

 

In normal npc without function i can trigger initnpctimer and do some OnTimerxxxx:

Help me please:)


Teach me please: how to use initnpctimer, stopnpctimer etc.

27 July 2013 - 09:50 PM

I was ready many times official manual and docs about initnpctimer, stopnpctimer but i still cannot understand how it work.

 

Example:

 

initnpctimer;     OnTimer10000:      announce "10 seconds to the whole map!",bc_map,0xcc00ff;      end;     OnTimer20000:     announce "20 seconds on map and i do something with characters",bc_map,0xcc00ff;     attachrid(somechar_ac_id); // example, not real variable just for example!     dosomething.... ;      attachrid(backtothemain_ac_id);     OnTimer25000:     announce "i done it after 25 seconds...",bc_map,0xff0099;     stopnpctimer;     end; 

 

 

 

Can someone teach me by examples, etc about timers, where i wrong? How to use initnpctimer? 

I need to write end; after initnpctimer? or just need to use initnpctimer alone, or with some label?

When with after initnpctimer i write 'end'; i get script stop; But i need to do something OnTimer:

When i remove end; my script have no delay, i mean i get all announces in < 1 second. No delay i mean...

 

Teach me please by examples in different situations how to use initnpctimer, stopnpctimer, attaching players, can someone talk about attaching timers to players, i can attach one timer to one player right? How to attach same timer to few players? Etc.... help me:)

 

Thank you a lot!


How to make increase taekwon rankers top list

22 July 2013 - 12:01 AM

I want to increase /taekwon ranker list, for example to 50 people. What i must to do? I cannot to find anything in sources to make it.

Or the best way it's make taekwon ranker with only one complete mission.

Example: 

I kill 100 monsters from mission, i get 0 point.

All taekwons have 0 points, all of them must be taekwon rankers.

Howto?


I <3 Hercules very much!

21 July 2013 - 12:28 PM

Thank you God for showing me Hercules.

I no feel more pain caused by super bugged rathena + eamod.

I now can increase perfomance of my server and include many unique features for my dear players.

I can start to maniuplate by many things. I follow hercules till march, and always happy with each update.

Thank you hercules community (not only to developers (do not shame)) for support so great emulator.

 

Anyway, i think, hercules need more guides and other manuals how to build servers, for each hercules feature, list of the all features of hercules etc.

 

 


[Suggestion] Advanced log feature.

26 May 2013 - 11:47 AM

Advanced logging feature details:

  • each spell usage logged in database.
  • each damage from spell loged too.
  • Each spell show next information: who was use it, to who it used, and how much it used.

Idea not fresh, and already added to another emulator. (eAmod);