Jump to content

Zell

Members
  • Posts

    412
  • Joined

  • Last visited

  • Days Won

    28

Everything posted by Zell

  1. I can't see too http://prntscr.com/nkvubr
  2. isi = integer, string, integer
  3. Prob this https://github.com/rathena/rathena/commit/25aaeec135409c735554f973a5c271c6be5acee6
  4. 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.
  5. 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.
  6. Simple answer, you can't.
  7. Mp3 song must be in 128kbps
  8. 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
  9. 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
  10. Nice one. I tutorial would be nice
  11. Thanks guys! Upating this with a new system that convert target skill to place skill: https://vimeo.com/307620277 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
  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
  15. Simple way if(@usingBuff) end; @usingBuff = 1; your Buffs logic Here; sleep2 2000; @usingBuff = 0; end;
  16. LOGIN SCREEN https://streamable.com/ii9gib https://streamable.com/fc0sn7 https://vimeo.com/287302640 https://vimeo.com/300142810 https://vimeo.com/274177970 https://vimeo.com/310257994 https://streamable.com/6t1f6 Splash's https://streamable.com/n58ma Misc All Launcher's have Discord RichPresence SCRIPT & SOURCE Bet System https://vimeo.com/297864967 Pick Item with Mouse Click https://vimeo.com/288068416 Hack'n Slash Attack System https://vimeo.com/285431474 SkillShot System https://vimeo.com/269528679 Header Hud Char Info https://vimeo.com/268928510 System Conversor Skill Target to Place https://vimeo.com/307620277 LEAGUE OF LEGENDS INSPIRED SKILLS Ivern https://vimeo.com/270423927 https://vimeo.com/270211429 Kalista https://vimeo.com/270518714 Ash https://vimeo.com/270728857 Orianna https://vimeo.com/270911850 Xayah https://vimeo.com/271172345 Katarina https://vimeo.com/269402201 Client Edit Drag System https://streamable.com/dnqgz New Hud Interface (Old) NEW INTERFACE FROM TOS (WITH NPC DIALOG) https://streamable.com/ebec1 TREE OF SAVIOR INTERFACE 2.0 https://streamable.com/zshk1t https://streamable.com/jpqeks https://streamable.com/5axy7g RPG Style Map Transition https://streamable.com/vjz06y New Game Filter https://vimeo.com/303199417 Item Summon Screen https://vimeo.com/300142810 Rain https://vimeo.com/298893681 Rain 2.0 https://streamable.com/8hlb3l Campfire Button Shortcut https://vimeo.com/298498848 Talk with NPC with spacebar press https://streamable.com/puoar2 Discord Integration WALK WITH WASD https://streamable.com/c4u7u DRESSROOM MOD https://streamable.com/n1ncz MASTERY WINDOW https://streamable.com/zfttp ________________________________________ A lot of other things I haven't record, but I will try to keep this updated. Green = last added.
  17. What do u mean by get confused?
  18. - = remove + = add lol
  19. I don't think that username and password should be a string Get it?
  20. You can play with implode and explode. setarray .@array$[0],"player1:23:swordsman","player2:10:magician"; mes "Player List"; for( ; .@i < getarraysize(.@array$); .@i++) { explode(.@data$, .@array$, ":"); mes "Name: " + .@data$[0]; mes "Level: " + .@data$[1]; mes "Job: " + .@data$[2]; } close;
  21. See if this helps you https://stackoverflow.com/questions/11969993/how-send-data-tcp-in-binary-frame-format
  22. They are different sprite class
  23. Version 1.0.0

    1225 downloads

    Hello everyone. Many ask me how I translate my item_db with my iteminfo, so today I came to teach how to do it. 1 - Download the program that I made available. 2 - Replace iteminfo.lua inside content with your iteminfo.lub or lua content. 3 - Run the program. 4 - A file named item.txt was generated. 5 - Copy the contents of this file and now into ServerDatabaseEditor, click on Tools after loading your database and copy all contents of item.txt and after that click on Run. 6 - Okay, you just translated your item_db into the language of your iteminfo! Special thanks to Tokei for making the most difficult, which was the SDE
    Free
  24. Again, rathena does not support 2018 clients after 2016-06-21, no without custom source mod to adopt new packets size
  25. hmm, did u read what I wrote?
×
×
  • Create New...