Jump to content

JayPee

Members
  • Posts

    633
  • Joined

  • Last visited

Everything posted by JayPee

  1. @Lighta thats not my snippet I just copied it from rAthenas SVN coz he said
  2. I think its not Im not getting this error also. And I found also that function in script.c. I also noticed its a Math function. maybe just try adding them. find BUILDIN_FUNC(sqrt) add below the function heres the code BUILDIN_FUNC(pow) { double i, a, b; a = script_getnum(st,2); b = script_getnum(st,3); i = pow(a,; script_pushint(st,(int)i); return 0; }
  3. na try mo na po bang indi gumamit ng Warp NPC? ngaun lang ako nakabasa ng ganitong situwasyon.
  4. JayPee

    @showemail

    Like this: http://rathena.org/board/topic/56125-new-source-mod-added-ultimate-gm-tool/
  5. I think that function pow is not declared and it being used in other functions so thats why it is reporting a warning. I guess that 5945 is the line number in pc.c where it is being used.
  6. Hope they release it too in the philippines xd
  7. I remember I used this. I just replace my agit_controller.txt with the script provided by the Toasty's WoE Controller. Be sure to backup first your original agit_controller.txt
  8. Why not use a RSS Feeds if there is in SMF?
  9. Try to put it in the index.php. I dont know if fluxCP use session_start() my is guess is it is using database driven session. May I know what are you trying to do?
  10. I found this in php.net Source: http://php.net/manua...utf8-encode.php maybe you can use this
  11. Ang reset look is in your My Accounts -> then makikita mo ang list of accounts then click mo ung account id -> then in the list of your menu's not the links in the sidebar makikita mo dun ang reset position and reset looks
  12. Yes. But Venegeances @warp and @go does need compiling again when changing the delay. And warpgodelaycd is the variable name i use to store the delay
  13. in src/map/pc.h find unsigned int canuseitem_tick; // [skotlex] then add below unsigned int warpgodelay_tick; then go to the src/map/pc.c find sd->canuseitem_tick = tick; then add below sd->warpgodelay_tick = tick; then this is still in src/map/pc.c find:(In the description it says this function is invoked when the player is receiving) void pc_damage(struct map_session_data *sd,struct block_list *src,unsigned int hp, unsigned int sp) inside the function add this: unsigned int tick = gettick(); int warpgodelaycd = 5000; //This is the delay in milliseconds sd->warpgodelay_tick = tick+warpgodelaycd; //This is the timer then go now in map/atcommand.c find ACMD_FUNC(go) then add this inside the function unsigned int tick = gettick(); this is still in the (go) function find below nullpo_retr(-1, sd); This is just below the list of maps in @go then add below if(DIFF_TICK(sd->warpgodelay_tick,tick)>0) { clif_displaymessage(fd,"There is a 5 seconds delay in using @go command"); return 0; } now for the @warp find: ACMD_FUNC(mapmove) then add this inside the function unsigned int tick = gettick(); now below memset(map_name, '0', sizeof(map_name)); add this below if(DIFF_TICK(sd->warpgodelay_tick,tick)>0) { clif_displaymessage(fd,"There is a 5 seconds delay in using @warp command"); return -1; } for the skill edit src/map/unit.c find: int unit_skilluse_id2(struct block_list *src, int target_id, short skill_num, short skill_lv, int casttime, int castcancel) then add this inside the function int warpgodelaycd = 5000; //This is a delay in miliseconds then scroll down to the end of the function you will see this if( casttime > 0 ) { ud->skilltimer = add_timer( tick+casttime, skill_castend_id, src->id, 0 ); if( sd && pc_checkskill(sd,SA_FREECAST) > 0 ) status_calc_bl(&sd->bl, SCB_SPEED); } else skill_castend_id(ud->skilltimer,tick,src->id,0); add this code above sd->warpgodelay_tick= tick+warpgodelaycd ;//The delay when they use skill Hope it helps. Merry XMAS
  14. JayPee

    @go (Rework)

    Maybe its like an npc warper but this is used by using @go? Now Iam really confused
  15. -.-
  16. Is this going to be free to use. If yes just pm me I'll code it
  17. JayPee

    @go (Rework)

    It means towns are removed? so what will be left is nothing I thought @go is for town warping
  18. can you try to remove that function or just put it in comment and see what might happen. Use a text editor that has line number and open index.php and goto line 31. I dont have that function in my ceres but my ceres is working fine
  19. you can use wamp or xamp to make a web server and its easy use and install. And also do some research on how you make your webserver secure.
  20. I dont know if is really BaseClass exist. the only Code i found in the script commands that check jobs is BaseJob and Class
  21. What is the use of gettick(); and canusuitem_tick and when to use also. Thanks Another Question is How to know if a player is being attacked by another player?
  22. I guess your just missing a closing curly brace
  23. Version None

    2195 downloads

    This is a login slicer for you to create your own login screen. This program is not developed by me. The 800x600 Iam missing that one
    Free
  24. Is this what your looking for? login.rar
  25. use cd directoryname ex: cd myfolder. Some dos commands that you usually use in Windows are used in Linux like cd and dir and if your going to use Linux without GUI you must have a basic knowledge on those.
×
×
  • Create New...