Jump to content

FallenOne

Members
  • Posts

    15
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    USA

FallenOne's Achievements

Poring

Poring (1/15)

0

Reputation

  1. Hmm... Thanks for the idea! You are right! They don't require emails but require the Birth Date which is weird since they ask for Email Address.... But with XkAcY's idea, I will just change their birthdates... hehe! I hope it will work...
  2. Hi! I will be implementing the 1 Character per GM account. Now, I need to prevent them from being able to delete their GM characters. How do we do that?
  3. Did you try changing this file: http://rathena.org/board/topic/56318-solved-modify-warp-go-delay/page__view__findpost__p__67799
  4. It worked! JayPee, Slim and FatalError, you are our savior... hehe!
  5. My Test Server is on a VPS using Linux OS. And it's eAthena 14843 with other src edits so, that could be the problem then?
  6. Yes, I have. I typed these: ./athena-start stop make clean && ./configure --with-pcre && make sql ./athena-start start
  7. Update: Here are my edits that made my Map Server not to turn on so, I cannot really test the edit: src/map/pc.h unsigned int canuseitem_tick; // [skotlex] unsigned int canusecashfood_tick; Becomes like this: unsigned int canuseitem_tick; // [skotlex] unsigned int warpgodelay_tick; unsigned int canusecashfood_tick; src/map/pc.c sd->canuseitem_tick = tick; sd->canusecashfood_tick = tick; Becomes like this: sd->canuseitem_tick = tick; sd->warpgodelay_tick = tick; sd->canusecashfood_tick = tick; src/map/pc.c void pc_damage(struct map_session_data *sd,struct block_list *src,unsigned int hp, unsigned int sp) { if (sp) clif_updatestatus(sd,SP_SP); if (hp) clif_updatestatus(sd,SP_HP); else return; Becomes like this: void pc_damage(struct map_session_data *sd,struct block_list *src,unsigned int hp, unsigned int sp) { unsigned int tick = gettick(); int warpgodelaycd = 5000; //This is the delay in milliseconds sd->warpgodelay_tick = tick+warpgodelaycd; //This is the timer if (sp) clif_updatestatus(sd,SP_SP); if (hp) clif_updatestatus(sd,SP_HP); else return; src/map/atcommand.c ACMD_FUNC(go) { int i; int town; char map_name[MAP_NAME_LENGTH]; int m; Becomes like this: ACMD_FUNC(go) { unsigned int tick = gettick(); int i; int town; char map_name[MAP_NAME_LENGTH]; int m; src/map/atcommand.c }; nullpo_retr(-1, sd); if( map[sd->bl.m].flag.nogo && battle_config.any_warp_GM_min_level > pc_isGM(sd) ) { clif_displaymessage(sd->fd,"You can not use @go on this map."); return 0; } Becomes like this: }; nullpo_retr(-1, sd); if(DIFF_TICK(sd->warpgodelay_tick,tick)>0) { clif_displaymessage(fd,"There is a 5 seconds delay in using @go command"); return 0; } if( map[sd->bl.m].flag.nogo && battle_config.any_warp_GM_min_level > pc_isGM(sd) ) { clif_displaymessage(sd->fd,"You can not use @go on this map."); return 0; } src/map/atcommand.c ACMD_FUNC(mapmove) { unsigned int tick = gettick(); char map_name[MAP_NAME_LENGTH_EXT]; unsigned short mapindex; int x = 0, y = 0; int m = -1; Becomes like this: ACMD_FUNC(mapmove) { unsigned int tick = gettick(); char map_name[MAP_NAME_LENGTH_EXT]; unsigned short mapindex; int x = 0, y = 0; int m = -1; src/map/atcommand.c nullpo_retr(-1, sd); memset(map_name, '0', sizeof(map_name)); if (!message || !*message || Becomes like this: memset(map_name, '0', sizeof(map_name)); if(DIFF_TICK(sd->warpgodelay_tick,tick)>0) { clif_displaymessage(fd,"There is a 5 seconds delay in using @warp command"); return -1; } if (!message || !*message || src/map/unit.c int unit_skilluse_id2(struct block_list *src, int target_id, short skill_num, short skill_lv, int casttime, int castcancel) { struct unit_data *ud; struct status_data *tstatus; Becomes like this: int unit_skilluse_id2(struct block_list *src, int target_id, short skill_num, short skill_lv, int casttime, int castcancel) { int warpgodelaycd = 5000; //This is a delay in miliseconds struct unit_data *ud; struct status_data *tstatus; src/map/unit.c if (!src->prev) return 0; //Warped away! } if( casttime > 0 ) { ud->skilltimer = add_timer( tick+casttime, skill_castend_id, src->id, 0 ); if( sd && pc_checkskill(sd,SA_FREECAST) > 0 ) Becomes like this: if (!src->prev) return 0; //Warped away! } sd->warpgodelay_tick= tick+warpgodelaycd ;//The delay when they use skill if( casttime > 0 ) { ud->skilltimer = add_timer( tick+casttime, skill_castend_id, src->id, 0 ); if( sd && pc_checkskill(sd,SA_FREECAST) > 0 )
  8. I added everything. But I might have added some of them in a wrong way. So, I reversed all the edit with my back-up. I will try to implement it again and if I experience the same problem, I will post all of my edits.
  9. Hi! What was changed from the last time I replied to this thread? I see that you updated your post in 12/26/11. Update: I added and tried to test your src edit. I turned off my test server, recompiled, turned on my test server. No errors showed up via putty. But the problem is my map server does not turn on for some reason. Login and Character servers are only on. I am not a coder and I might have messed up every time you say, "add this inside the function." When I read that instruction, I just try to add it to the first line after " { " like for example: void pc_damage(struct map_session_data *sd,struct block_list *src,unsigned int hp, unsigned int sp) { if (sp) clif_updatestatus(sd,SP_SP); if (hp) clif_updatestatus(sd,SP_HP); else return; And it becomes like: void pc_damage(struct map_session_data *sd,struct block_list *src,unsigned int hp, unsigned int sp) { unsigned int tick = gettick(); int warpgodelaycd = 5000; //This is the delay in milliseconds sd->warpgodelay_tick = tick+warpgodelaycd; //This is the timer if (sp) clif_updatestatus(sd,SP_SP); if (hp) clif_updatestatus(sd,SP_HP); else return; I don't know if I did it right. If I did, nice! But I might have messed up in the other parts. I am more accurate in adding src edits manually if it was in diff version since I can see the exact tabs and location of where it should be.
  10. Nice! I will go ahead and take out Vengeance's version on my SVN and try out Jaypee's... Thanks guys!
  11. Merry Xmas to you too~ Based on your src edits, I don't have to implement Vengeance's @warp and @go delay since you made the "warpgodelaycd" thing, right? Oh yeah, Im using eA's SVN 14843... It will still work?
  12. Update on what I need: I want the players to be able to @warp/@go when they are NOT getting attacked or using a skill. But it will work when they are being attacked or used a skill. Thank You~
  13. Hi! This is from eA and I am hoping rA can help as well. @warp/@go delay: http://www.eathena.ws/board/index.php?showtopic=263936&st=0 How do we make this snippet to work when attacked or used a skill? So, atm, there is just a cool down for using @warp or @go. How about it resets when attacked or used a skill? Thank You~
  14. Thanks! for replying. By the way, how come INT is the only one that has the apostrophes? Is that a typo?
  15. Hi! How do I boost the stats of the mobs globally to increase their attack/defense? For example, Bomb Poring: Str 1, Agi 28, Vit 28, Int 0, Dex 33, Luk 50 Boosted Mob Stats from 1x to 2x Bomb Poring: Str 2, Agi 56, Vit 56, Int 0, Dex 66, Luk 100 Is there another way to increase their attack/defense besides increasing HP or manually editing their stats in mob_db.txt?
×
×
  • Create New...