Zell

Members
  • Content Count

    321
  • Avg. Content Per Day

    0
  • Joined

  • Last visited

  • Days Won

    8

Zell last won the day on December 12 2018

Zell had the most liked content!

Community Reputation

88 Excellent

About Zell

  • Rank
    Stapo

Profile Information

  • Gender
    Male
  • Location
    Brasil

Recent Profile Visitors

3,149 profile views
  1. isi = integer, string, integer
  2. Prob this https://github.com/rathena/rathena/commit/25aaeec135409c735554f973a5c271c6be5acee6
  3. I do not think its a good idea make map-serv handle this kind of "hard" IA byself. Maybe a new module (login, char, map and the new one, ia_handler) that will only send the packets to map-server after calculated what to do.
  4. No. I had a online server that I used this kind of "gif" with cutins and 50% of players received crash in client. And the gif has only 30 seconds. Imagine a video like that.
  5. Simple answer, you can't.
  6. Mp3 song must be in 128kbps
  7. If you set the prevent logout to 30 seconds will this not affect too when player use a skill or hit a monster? . If the player wants to go to character screen after those action will wait 30 seconds
  8. 1 - Add new map_flag: MF_NORAGEQUIT 2 - Add new value to map_session_data: lastpk 3 - Add new configuration in battle/conf.misc with PK_TIMER (time to set sd->lastpk to 0) 4 - In battle.c when player receive damage from other player in a map with this mapflag set sd->lastpk with source damage char_id. 5 - When player who logout with (sd->lastpk) > 0 && map_id2sd(sd->lastpk) is not null (still online), set for this player who last hitted the player who logout the tsd->killedrid = sd->status.char_id this sd (lets call tsd) and execute npc_event( NPCE_KILLLEVENT, tsd). 6 - Now when player A hit player B, until a ms of time, if player B Log out, the player A garants the execution of label OnPcKillEvent. 7 - Don't forget to put Add_timer in battle.c from same line of 3 step to clean the sd->lastpk of a player (gap between damage. If a player does not hit other in time of a x ms there is no reason to give the kill to the other when logout) let me improve the explication, with pseudo code. I don't remember the funcions name cause I'm on office -- battle.c pc_damage()... // Whatever where log player damage if(sd && tsd) { sd->lasthitter= tsd->status.char_id; add_timer( gettick() + 5000, function_timerToCleanLastHitter, sd->bl.id); // After 5 seconds the function will set sd->lasthitter to 0 } -- pc.c or map.c (dont remember from where OnPcLogOut is called, but the funcion of logout) pcmap_logout() { //before OnPcLogoutevent and other stuff if(sd->lasthitter > 0 && get_mapflag(sd->bl.m, MF_NORAGEQUIT) // Player logout and received hit from a player in last 5 seconds { struct map_session_data* tsd = map_ids2sd( sd->lasthitter ); if(tsd != null) { tsd->killedrid = sd->status.char_id; npce_event( map_id2sd( tsd->lasthitter, NPCE_KILLPC); } } } sorry about english and code. Writing without consulting google translate or source code
  9. Update: New Patcher Design with Update (after the update and click in the arrow will prompt the login screen but I didn't code yet) https://vimeo.com/309808859 New Patcher Design with SplashScreen https://vimeo.com/310022130
  10. Adel

    Hi there, do you have Discord?

    1. Zell

      Zell

      Hey. Yes, here:

      Zell#0003

  11. Thanks guys! Upating this with a new system that convert target skill to place skill: https://vimeo.com/307620277
  12. You can't really block 100% this. Isn't more nice if you just make the guild pack items not trade able?
  13. I think it depends of water level
  14. Without a gdb file or a clue where is crashing is pretty impossible to help you. Are you using the last emulator? I don't think you are cause I can't reproduce this error