Jump to content

Cyrix

Members
  • Posts

    150
  • Joined

  • Last visited

  • Days Won

    1

Cyrix last won the day on November 22 2016

Cyrix had the most liked content!

4 Followers

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

4558 profile views

Cyrix's Achievements

Poring

Poring (1/15)

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

Recent Badges

13

Reputation

2

Community Answers

  1. Check your div's margin or margin-bottom and height attributes. if you do not know how, you can post the final part of your site code for review. Check footer height and margin-top. thx
  2. Hi, I need help to get itemid card2 from script.c function "successremovecards": BUILDIN_FUNC(successremovecards) { int i=-1,c,cardflag=0; TBL_PC* sd = script_rid2sd(st); int num = script_getnum(st,2); if (equip_index_check(num)) i=pc_checkequip(sd,equip_bitmask[num]); if (i < 0 || !sd->inventory_data[i]) { return SCRIPT_CMD_SUCCESS; } if(itemdb_isspecial(sd->inventory.u.items_inventory[i].card[0])) return SCRIPT_CMD_SUCCESS; // code to verify item.tmp card2 start here, and can be with sql query or other code; // example: // if (item.tmp.card[2].nameid >4900){ // message item.tmp.card[2].nameid // }else{ for( c = sd->inventory_data[i]->slot - 1; c >= 0; --c ) { if( sd->inventory.u.items_inventory[i].card[c] && itemdb_type(sd->inventory.u.items_inventory[i].card[c]) == IT_CARD ) {// extract this card from the item unsigned char flag = 0; struct item item_tmp; memset(&item_tmp,0,sizeof(item_tmp)); cardflag = 1; item_tmp.nameid = sd->inventory.u.items_inventory[i].card[c]; item_tmp.identify = 1; if((flag=pc_additem(sd,&item_tmp,1,LOG_TYPE_SCRIPT))){ // get back the cart in inventory clif_additem(sd,0,0,flag); map_addflooritem(&item_tmp,1,sd->bl.m,sd->bl.x,sd->bl.y,0,0,0,0,0); } } } if(cardflag == 1) {//if card was remove remplace item with no card unsigned char flag = 0, j; struct item item_tmp; memset(&item_tmp,0,sizeof(item_tmp)); item_tmp.nameid = sd->inventory.u.items_inventory[i].nameid; item_tmp.identify = 1; item_tmp.refine = sd->inventory.u.items_inventory[i].refine; item_tmp.attribute = sd->inventory.u.items_inventory[i].attribute; item_tmp.expire_time = sd->inventory.u.items_inventory[i].expire_time; item_tmp.bound = sd->inventory.u.items_inventory[i].bound; for (j = sd->inventory_data[i]->slot; j < MAX_SLOTS; j++) item_tmp.card[j]=sd->inventory.u.items_inventory[i].card[j]; for (j = 0; j < MAX_ITEM_RDM_OPT; j++){ item_tmp.option[j].id=sd->inventory.u.items_inventory[i].option[j].id; item_tmp.option[j].value=sd->inventory.u.items_inventory[i].option[j].value; item_tmp.option[j].param=sd->inventory.u.items_inventory[i].option[j].param; } pc_delitem(sd,i,1,0,3,LOG_TYPE_SCRIPT); if((flag=pc_additem(sd,&item_tmp,1,LOG_TYPE_SCRIPT))){ //chk if can be spawn in inventory otherwise put on floor clif_additem(sd,0,0,flag); map_addflooritem(&item_tmp,1,sd->bl.m,sd->bl.x,sd->bl.y,0,0,0,0,0); } clif_misceffect(&sd->bl,3); } return SCRIPT_CMD_SUCCESS; } // end itemid verify // }
  3. I have Mado Gear equipped. In game shows, but in RoChargen does not appear. Can you help me? With the item Reins Of Mount the same thing happens Refer:
  4. Updated page: View Character Equipped items session:
  5. It is not for sale. The project is under development. I posted in the showcase section. :-)
  6. Hello, Hello, I would check before deleting the character, if you have items with it, not delete. If not delete character. like this if( SQL_ERROR == Sql_Query(sql_handle, "SELECT `%d`.char_id,`%d`.char_id FROM `%d`, `%d` WHERE `char_id`='%d' AND `inventory`.`char_id`='%d'", char_db, inventory_db, char_db, inventory_db, char_id, char_id) ) error: char.c:2204:145: note: each undeclared identifier is reported only once for each function it appears in char.c:2204:154: error: âinventory_dbâ undeclared (first use in this function) thx
  7. when I unequip the armor , I need to remove the buff Holly Armor. thx.
  8. Exemplo: Id: 671 AegisName: "Gold_Coin" Name: "Gold Roulette Coin" Type: 2 Buy: 0 Weight: 0 Upper: 63 Trade: { nodrop: true notrade: true noselltonpc: true nocart: true nostorage: true nogstorage: true nomail: true noauction: true }
  9. Solved... Hells Plant hitting Ghost element enemies, but reduced damage. Miss the target is not correct. Source: Brazil Ragnarok Online Suport (BRO)
  10. Rev. 12641 Hi, https://github.com/rathena/rathena/commit/62a2813 Fixed Hells Plant hitting Ghost element enemies. (bugreport:8799) Dont work for me. The hell plant skill, is causing damage to the ghost property. how do I fix this ? 2490,9,6,2,0,0x3,1,5,1,yes,0,0x80,2:3:4:5:6,misc,0,0x0, GN_HELLS_PLANT,Hell's Plant 2491,0,6,1,0,0x90,0,5,1,no,0,0,0,misc,0,0x0, GN_HELLS_PLANT_ATK,Hell's Plant Attack Ghost Armor = 24k dmg Thanks.
  11. I'm out of time. I stopped working on it. I will return soon.
×
×
  • Create New...