Jump to content

Lemongrass

Developer
  • Posts

    547
  • Joined

  • Last visited

  • Days Won

    15

Everything posted by Lemongrass

  1. Welcome secret~ I really hope you have more free time in the near future and that your motivation stays like that. Keep the good work up!
  2. Use close2; instead if you want the npc to continue
  3. Well we have those functions to map the client ids(JOB_*) to the server ids(MAPID_*), but they defined a new table which is ONLY for booking(because of the additional roles I guess). I dont really know whether it would make sense to add this lookup tables for their additional map and job ids for booking, because they could change with each updates, which makes it kind of hard maintain for us. It would cause us to have to monitor yet another client file for changes and release the changes accordingly. Additionally I personally just found the map table in the luas, I could not find the job table in there when I looked for it quickly. Are you sure it's also there?
  4. For me this worked, but I only tested a few cases: clif_displaymessage(sd->fd,job_name(job-4)); Edit: Since this is stored as it is sent from the client and the requests are also processed like that, there currently is no translation table on serverside. Therefore you might need an array like this for jobs and another one for the maps: int jobs[] = { // Roles JOB_NOVICE, // think of something here JOB_NOVICE, JOB_NOVICE, JOB_NOVICE, // 1st JOB_SWORDMAN, JOB_MAGE, JOB_ARCHER, JOB_ACOLYTE, JOB_MERCHANT, JOB_THIEF, // 2nd JOB_KNIGHT, JOB_PRIEST, JOB_WIZARD, JOB_BLACKSMITH, JOB_HUNTER, JOB_ASSASSIN, JOB_CRUSADER, JOB_MONK, JOB_SAGE, JOB_ROGUE, JOB_ALCHEMIST, JOB_BARD, JOB_DANCER, // 3-1 JOB_RUNE_KNIGHT, JOB_WARLOCK, JOB_RANGER, JOB_ARCH_BISHOP, JOB_MECHANIC, JOB_GUILLOTINE_CROSS, // 3-2 JOB_ROYAL_GUARD, JOB_SORCERER, JOB_MINSTREL, JOB_WANDERER, JOB_SURA, JOB_GENETIC, JOB_SHADOW_CHASER, // 1st High JOB_SWORDMAN_HIGH, JOB_MAGE_HIGH, JOB_ARCHER_HIGH, JOB_ACOLYTE_HIGH, JOB_MERCHANT_HIGH, JOB_THIEF_HIGH, // 2nd High JOB_LORD_KNIGHT, JOB_HIGH_PRIEST, JOB_HIGH_WIZARD, JOB_WHITESMITH, JOB_SNIPER, JOB_ASSASSIN_CROSS, JOB_PALADIN, JOB_CHAMPION, JOB_PROFESSOR, JOB_STALKER, JOB_CREATOR, JOB_CLOWN, JOB_GYPSY, // Other JOB_WEDDING, JOB_NOVICE_HIGH, JOB_SUPER_NOVICE, JOB_GUNSLINGER, JOB_NINJA, JOB_TAEKWON, JOB_STAR_GLADIATOR, JOB_SOUL_LINKER, }; Then you can show the jobname with: clif_displaymessage(sd->fd,job_name(jobs[job[i]-1])); But you need to define the roles with hardcoded strings... I know that this is not the answer you wanted to hear, but it is like that at the moment and that might also be the reason why there is no custom option for such a feature in rAthena.
  5. Honestly you could solve all your problems if you merge those two sql selects and additionally increase the npcs performance too. new_1-1,51,109,5 script BG Ranker 55,{ mes .name$; mes "I can give you the Battlegrounds Raking Information."; mes "Choose what do you want to know."; next; set .@selection, select( implode( .menu$, ":" ) ) - 1; query_sql "select c.name, " + .tables$[.@selection] + " from `char_bg` cb inner join `char` c on c.char_id = cb.char_id order by " + .tables$[.@selection] + " desc limit " + .maxsize, .@char_name$, .@bgtop; mes .name$; mes .menu$[.@selection]; for ( .@a = 0; .@a < .maxsize; .@a++ ) mes "["+ (.@a+1) +"] "+ ( (.@char_name$) ? .@char_name$ : "^FF0000None^000000" ); close; OnInit: set .name$, "[^0000FFBattlegrounds Ranker^000000]"; setarray .menu$[0], "Top Game Win", "Top Game Tie", "Top Game Lost", "Top Leader Game Win", "Top Leader Game Tie", "Top Leader Game Lost"; setarray .tables$[0], "win", "tie", "lost", "leader_win", "leader_tie", "leader_lost"; set .maxsize, 5; //Amount of player that will appear end; } I did not test it, but you should get the idea behind it.
  6. Have you updated your client and luas accordingly? I'm not facing such issues.
  7. Dont forget that 0, 0 means random and that they might be able to reach places they shouldnt be able to reach.
  8. On which official server did you test this? Also if you find any bugs and even confirmed them on official servers, feel free to post a bug report in here: https://github.com/rathena/rathena/issues But please create one ticket for each bug you find. In your case you would have to create 2 tickets. And please provide as much information as possible. Thank you.
  9. Für diese Berechnungen kann ich dir nur empfehlen, dir Datei "db/re/level_penalty.txt" durchzulesen. Alle Einträge beginnend mit 1 sind die, die EXP betreffen. Bei normalen Monstern geht das von 16 Level unter dem Monster bis 31 Level über dem Monster. Dabei geht man bei Renewal davon aus, dass es nur realistisch ist, dass du auch maximal Monster killen kannst, die 15 Level über dir sind, ohne zu schummeln. Deshalb gibts, wenn du noch weiter drunter bist nur 40% der EXP. Du startest bei 15 Level unter dem Monster mit 115% und erreichst bei 10 Level unter dem Monster den Höchstpunkt von 140%. Danach sinkt die Rate immer weiter bis zu 10% die du erreichst, wenn du 31 Level über dem Monster bist. Bosse und Guardian Monster sind davon übrigens ausgenommen. Hoffe ich konnte dir weiterhelfen!
  10. Lemongrass

    Item DB

    Why don't you increase it and create a pull request? I do not think anyone would mind having it increased seeing jobs being added one after another(recent patch with races).
  11. I think you do not need to convert it there. The client will read it in those characters not the korean ones. Do you have any problems or why do you want to convert it?
  12. http://ratemyserver.net/index.php?page=download_tool Download UnBollox
  13. Each mob can only have one event label. If it has none it will trigger OnNPCDie or however it is exactly called. Might be because of this that you are having troubles.
  14. Might be that you are missing the "collection" texture for this one.
  15. Hast du mal versucht ein anderes .NET Paket zu installieren?
  16. Just replace the getmapusers("prontera") by getusers(1)
  17. I already found it yesterday, but thanks you. Here's the link: http://davven.wix.com/davvenromaps#!__yggdrasil The original author is davven. I'm still waiting on a reply from him though.
  18. Hey guys, I am looking for a custom map that was released either on eAthena or here on rAthena. It looked a lot like the map "trunk of yggdrasil"(yggdrasil01). The same models were used as far as I remember. But it was a more open map not a real dungeon. My memories of it are blurred so I can not provide any more details. I thought the map was made by chemicalcrush, but I am not to sure about that anymore. Would be nice if you could help me out. Thanks in advance. Lemon
  19. I think the status thing is working as intended. At least its like that on AEGIS(fRO). If you switch the zone server you lose your buffs. I think there we just a few exceptions like the EXP boost for example.
  20. <sarcasm>Da fragst du am besten bei der NSA nach.</sarcasm> Ich kenn nur die @-Commands für Party und Gilde. @partyspy und @guildspy Natürlich kannst du wenn du dein Logging dementsprechend einstellst auch eine Auswertung via MySQL machen.
  21. Hi~lemo, @autotrade command should check and update Character's sex becoz sex field default value is 'M' : DB error - Duplicate entry '1' for key 'PRIMARY' [Debug]: at ..\src\map\vending.c:457 - INSERT INTO `vendings`(`id`,`account_id`, `char_id`,`sex`,`map`,`x`,`y`,`title`,`autotrade`) VALUES( 1, 2072856, 157247, ' M', 'prontera', 153, 90, '[Zeny] ComeBuy', 0 ); is it my problem? Fixed those two issues in 5988c7a. [Edit:] Also fixed allocation and other minor issues in 139bc1c.
  22. I think it is something like a NPC type. 101 seems to be general NPC 102 seems to be tool dealers Not sure though. Basically I think you are fine with just putting 101 there.
  23. Purchasing from the control panel is not a good idea, because the shop ingame would not be refreshed on purchase.
  24. In reference to this bugreport here: http://rathena.org/board/tracker/issue-8533-bug-skill-autospell-frostdiver/ Please update your revision/clone.
×
×
  • Create New...