Jump to content

BlazingSpear

Members
  • Posts

    75
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by BlazingSpear

  1. i already made custom class i can make only 1 weapon type can equip, question how can i make custom 2nd class 1 weapon type also can equip??? because it can equip any weapon including spears and guns note: old revision rathena
  2. can i ask how to make new weapon type for example slinger?
  3. im using this code but it doesnt work any more with latest revision if ( sd && tsc && sd->sc.data[SC_SPIRIT] && sd->sc.data[SC_SPIRIT]->val2 == SL_ROGUE && rand()%100 < 15 && ( skill_id == RG_STRIPWEAPON && tsc->data[SC_CP_WEAPON] || skill_id == RG_STRIPSHIELD && tsc->data[SC_CP_SHIELD] || skill_id == RG_STRIPARMOR && tsc->data[SC_CP_ARMOR] || skill_id == RG_STRIPHELM && tsc->data[SC_CP_HELM] ) ) { int item_id = 7139; // Glistening Coat int ii; ARR_FIND( 0, MAX_INVENTORY, ii, sd->status.inventory[ii].nameid == item_id ); if ( ii < MAX_INVENTORY ) { pc_delitem( sd, ii, 1, 0, 0); switch ( skill_id ) { case RG_STRIPWEAPON: status_change_end( bl, SC_CP_WEAPON, INVALID_TIMER ); sc_start( bl, SC_STRIPWEAPON, 100, skill_lv, d ); break; case RG_STRIPSHIELD: status_change_end( bl, SC_CP_SHIELD, INVALID_TIMER ); sc_start( bl, SC_STRIPSHIELD, 100, skill_lv, d ); break; case RG_STRIPARMOR: status_change_end( bl, SC_CP_ARMOR, INVALID_TIMER ); sc_start( bl, SC_STRIPARMOR, 100, skill_lv, d ); break; case RG_STRIPHELM: status_change_end( bl, SC_CP_HELM, INVALID_TIMER ); sc_start( bl, SC_STRIPHELM, 100, skill_lv, d ); break; } clif_skill_nodamage( src, bl, skill_id, skill_lv, i ); break; } }
  4. i doubt if costume armors can show but, like summer santa and oktober fest, only upper,mid,lowe headgear and garments like bagpack and wing only show
  5. try yo look free id, i know there is specified id for items that is my problem before my solution is keep on try to search for free ids my item id before starts with 30001 it is keep showing unknown i change that from 30001 to 3001 it works fine for me
  6. 1>------ Rebuild All started: Project: map-server_sql, Configuration: Release Win32 ------ 1> grammar.c 1> libconfig.c 1> scanctx.c 1> scanner.c 1> strbuf.c 1> mt19937ar.c 1> conf.c 1> core.c 1> db.c 1> des.c 1> ers.c 1> grfio.c 1> malloc.c 1> mapindex.c 1> md5calc.c 1> mempool.c 1> mutex.c 1> nullpo.c 1> raconf.c 1> random.c 1> showmsg.c 1> socket.c 1> sql.c 1> strlib.c 1> thread.c 1> timer.c 1> utils.c 1> msg_conf.c 1> cli.c 1> atcommand.c 1> battle.c 1> battleground.c 1> buyingstore.c 1> cashshop.c 1> channel.c 1> chat.c 1>..\src\map\atcommand.c(5340): warning C4013: 'clif_charnameupdate' undefined; assuming extern returning int 1> chrif.c 1> clan.c 1> clif.c 1> date.c 1> duel.c 1> elemental.c 1> guild.c 1> intif.c 1> itemdb.c 1> log.c 1> mail.c 1> map.c 1> mapreg_sql.c 1> homunculus.c 1> instance.c 1> mercenary.c 1>..\src\map\map.c(1879): error C2198: 'map_addflooritem' : too few arguments for call 1> mob.c 1> npc.c 1> npc_chat.c 1> party.c 1> path.c 1> pc.c 1> pc_groups.c 1> pet.c 1> quest.c 1> script.c 1> searchstore.c 1> skill.c 1> status.c 1> storage.c 1> trade.c 1> unit.c 1> vending.c ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ========== int map_addflooritem_area(struct block_list* bl, int16 m, int16 x, int16 y, int nameid, int amount) { struct item item_tmp; int count, range, i; short mx, my; memset(&item_tmp, 0, sizeof(item_tmp)); item_tmp.nameid = nameid; item_tmp.identify = 1; if( bl != NULL ) m = bl->m; count = 0; range = (int)sqrt(amount) +2; for( i = 0; i < amount; i++ ) { if( bl != NULL ) map_search_freecell(bl, 0, &mx, &my, range, range, 0); else { mx = x; my = y; map_search_freecell(NULL, m, &mx, &my, range, range, 1); } count += (map_addflooritem(&item_tmp, 1, m, mx, my, 0, 0, 0, 4, 0, 0) != 0) ? 1 : 0; } return count; } i have trouble in applying eamod battleground and i have 1 warning and 1 error i dont know how to fix this, kindly help i provide other detail if you need it
  7. post here the solution for future reference thanks!!
  8. i think you need to update your sql also here
  9. be specific so we can help you want you wanna do with that script??
  10. for slot you need to edit iteminfo.lua slotCount = 0, <--- Change 0 to slot do you want and try to read this rathena/doc/itemdb.txt
  11. sec_in01,79,36,4 script Freebies 123,{ mes "[Hello]"; mes "[I can give you a free gift based on your future job.]"; mes "[Please choose the correct item for the future job]"; if(!#Freebie) { mes "Select one:"; next; switch(select("Swordsman:Magician:Archer:Acolyte:Merchant:Thief:Ninja:Linker:Taek")) { case 1: getitem 2328,1; getitem 2404,1: getitem 2503,1; rentitem 29280,604800; rentitem 5394,604800; getitem 1109,1; //Item for Swordsman break; case 2: getitem 2334,1; getitem 2403,1; getitem 2503 ,1; getitem 1601 ,1; rentitem 29280,604800; rentitem 5394,604800; //Item for Magician break; case 3: getitem 2330,1; getitem 2405,1; getitem 2503 ,1; getitem 1701 ,1; rentitem 29280,604800; rentitem 5394,604800; //Item for Archer break; case 4: getitem 2309,1; getitem 2403,1; getitem 2503 ,1; getitem 1601 ,1; rentitem 29280,604800; rentitem 5394,604800; //Item for Acolyte break; case 5: getitem 2309,1; getitem 2405,1; getitem 2503 ,1; getitem 1354 ,1; rentitem 29280,604800; rentitem 5394,604800; //Item for Merchant break; case 6: getitem 2335,1; getitem 2405,1; getitem 2503 ,1; getitem 1221 ,1; rentitem 29280,604800; rentitem 5394,604800; //Item for Thief break; case 7: getitem 2335,1; getitem 2403,1; getitem 2503 ,1; getitem 1221 ,1; rentitem 29280,604800; rentitem 5394,604800; //Item for Ninja break; case 8: getitem 2335,1; getitem 2403,1; getitem 2503 ,1; getitem 1603 ,1; rentitem 29280,604800; rentitem 5394,604800; //Item for Linker break; } set #Freebie, 1; close; } OnInit: waitingroom "Get your freebies here ! ",0; end; } try this script
  12. i need some help i search at this forum and i found single strip bypass FCP but it doesnt work in game i successfully applied the patch i dont know if the patch still supported latest revision of rathena but it runs ok but when im trying to divest weapon,armor,shield,headgear it always said skills failed when i already meet the requirement my rouge is already soul link and i have glistening coat in my inventory what when wrong im using this code thanks sorry im noob in src coding
  13. is this working on latest revision??
  14. can some write simple PVP system like this PVP announcer in every town autokick idle player in pvp map, PVP ranking including PVP,GVG and PTP event and Aura for 10 top players in ranking with title and additiona stats. thanks
  15. is it possible to run the server using Virtual machine windows or linux OS i want to install here in my laptop i wonder if this is possible
×
×
  • Create New...