Jump to content

Stingor

Members
  • Posts

    5
  • Joined

  • Last visited

Profile Information

  • Gender
    Male

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Stingor's Achievements

Poring

Poring (1/15)

  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

1

Reputation

1

Community Answers

  1. https://github.com/rathena/rathena/blob/master/sql-files/upgrades/upgrade_20140723.sql
  2. HI, i added this feature on my eathena server, now it works fine, but i 've had an issue where the server was sometime not able to load all the shops, that was totally gambling because of this : //If the last autotrade is loaded, clear autotraders [Cydh] if( i + 1 >= autotrader_count ) do_final_vending_autotrade(); i set in ARR_FIND(0,autotrader_count,i,autotraders && autotraders->char_id == sd->status.char_id); so sometimes when the first shop triggered is the last of the autotrader DB i , meaning ( i + 1 >= autotrader_count ) is true and trigger do_final_vending_autotrade() so all shops are gone exept the first loaded. All because they are loaded at the same time by pc_autotrade_timer triggered by timer with do_init_pc. I don't know if there is this problem on rAthena but if any user trying to put this feature on eathena server, experience this problem I fixed it by making a second static uint16 autotrader_count_final = 0; and } autotrader_count_final++; aFree(data); //If the last autotrade is loaded, clear autotraders [Cydh] if( autotrader_count_final >= autotrader_count ) do_final_vending_autotrade(); and reseting it with autotrader_count maybe just putting order in sql request do the job, i don't tried it at this time <<ORDER BY `char_id` DESC>> Repeating that i'am on eathena so maybe it's just an outdate problem
  3. Hello every one, i'm actually running on eathena r15268 (the last very last of eathena trunk not renewal branch) but i need an information about the fork, i can't figure out the revision where <RR Emu> started (i know http://trac.rathena.org/changeset/15001/rathena) anyone can share this info ? Edit : nevermind guy feel free to delete this post, i actually get my answer http://trac.rathena.org/changeset?old_path=%2Frathena%2Fbranches%2Frenewal&old=14415&new_path=%2Frathena%2Fbranches%2Frenewal&new=14415
  4. have the same problem, but as far as i know, it worked before around 12586 of eathena trunk, what have change, client or server ? robe support ? edit : find a solution in clif.c (from another source than me) #if PACKETVER >= 20071106 static inline unsigned char clif_bl_type(struct block_list *bl) { // Lecture de la class int class_ = status_get_viewdata(bl)->class_; int type = bl->type; if( type == BL_NPC || type == BL_MOB || type == BL_PC ) { if ( class_ < 45 ) type = BL_PC; else if ( class_ < 1000 ) type = BL_NPC; else if ( class_ < 4000 ) type = BL_MOB; else type = BL_PC; } switch( type ) { case BL_PC: return 0x0; //PC_TYPE case BL_ITEM: return 0x2; //ITEM_TYPE case BL_SKILL: return 0x3; //SKILL_TYPE case BL_CHAT: return 0x4; //UNKNOWN_TYPE case BL_MOB: return 0x5; //NPC_MOB_TYPE case BL_NPC: return 0x6; //NPC_EVT_TYPE case BL_PET: return 0x7; //NPC_PET_TYPE case BL_HOM: return 0x8; //NPC_HOM_TYPE case BL_MER: return 0x9; //NPC_MERSOL_TYPE // case BL_ELEM: return 0xA; //NPC_ELEMENTAL_TYPE default: return 0x1; //NPC_TYPE } } #endif spawn npc with a player sprite = win
×
×
  • Create New...