Jump to content

mhielo12

Members
  • Posts

    114
  • Joined

  • Last visited

Everything posted by mhielo12

  1. Hi Im looking for a good vps host.. I see that extravm has this offer: while gomanila has this offer. which one is better? thanks guys
  2. Hi guys.. Can anyone help to rework the wow domi or annieruru.. its not working on latest git anymore.. src/custom/script.inc | 64 +++++++++++++++++++++++++++++++++++++++++++++++ src/custom/script_def.inc | 3 +++ 2 files changed, 67 insertions(+) diff --git a/src/custom/script.inc b/src/custom/script.inc index 1e01c88..79856cb 100644 --- a/src/custom/script.inc +++ b/src/custom/script.inc @@ -17,3 +17,67 @@ // script_pushint(st,1); // return 0; //} // createbgid <respawn map>, <respawn x>, <respawn y>, <On Quit event>, <On Death event>; BUILDIN_FUNC(createbgid) { unsigned int bg_id; if ( ( bg_id = bg_create( mapindex_name2id( script_getstr(st,2) ), script_getnum(st,3), script_getnum(st,4), script_getstr(st,5), script_getstr(st,6) ) ) > 0 ) script_pushint( st, bg_id ); else script_pushint( st, 0 ); return SCRIPT_CMD_SUCCESS; } // setbgid <battleground ID> {, <player name> }; // setbgid <battleground ID> {, <player account ID> }; BUILDIN_FUNC(setbgid) { unsigned int bg_id = script_getnum(st,2); struct battleground_data *bg = bg_team_search( bg_id ); struct map_session_data *sd; if ( script_hasdata( st, 3 ) ) { if ( data_isstring( script_getdata(st,3) ) ) sd = map_nick2sd( script_getstr(st,3) ); else sd = map_id2sd( script_getnum(st,3) ); } else sd = script_rid2sd(st); if ( !sd ) { script_pushint( st, -3 ); // player no attach return SCRIPT_CMD_SUCCESS; } if ( !bg && bg_id > 0 ) { script_pushint( st, -1 ); // battleground team haven't created return SCRIPT_CMD_SUCCESS; } if ( bg_id && sd->bg_id == bg_id ) { script_pushint( st, -5 ); // the player has already join this battleground team return SCRIPT_CMD_SUCCESS; } if ( sd->bg_id ) bg_team_leave( sd, 0 ); if ( bg_id == 0 ) { script_pushint( st, 0 ); return SCRIPT_CMD_SUCCESS; } if ( !bg_team_join( bg_id, sd ) ) script_pushint( st, -2 ); // cannot join anymore, because has reached MAX_BG_MEMBERS else script_pushint( st, bg_id ); return SCRIPT_CMD_SUCCESS; } // getbgusers <battleground ID>; BUILDIN_FUNC(getbgusers) { struct battleground_data *bg = bg_team_search( script_getnum(st,2) ); int i, j = 0; if ( !bg ) { script_pushint( st, -1 ); return SCRIPT_CMD_SUCCESS; } for ( i = 0; i < MAX_BG_MEMBERS; ++i ) if ( bg->members[i].sd ) mapreg_setreg( reference_uid( add_str("$@arenamembers"), j++ ), bg->members[i].sd->bl.id ); mapreg_setreg( add_str("$@arenamembersnum"), j ); script_pushint( st, j ); return SCRIPT_CMD_SUCCESS; } diff --git a/src/custom/script_def.inc b/src/custom/script_def.inc index 3319eea..600a0ac 100644 --- a/src/custom/script_def.inc +++ b/src/custom/script_def.inc @@ -9,3 +9,6 @@ **/ //BUILDIN_DEF(example,""), BUILDIN_DEF(createbgid,"siiss"), BUILDIN_DEF(setbgid,"i?"), BUILDIN_DEF(getbgusers,"i"),
  3. why does herc have a free plug-in for this? http://herc.ws/board/topic/8192-restock-system/ https://github.com/dastgir/HPM-Plugins/blob/master/NPC/Restock.txt
  4. trouble with adding custom weapon.. my client date is... 2013-12-23cRagexe already done this.. [40617] = { unidentifiedDisplayName = "One-Handed Spear", unidentifiedResourceName = "쟈벨린", unidentifiedDescriptionName = { "Unknown Item, can be identified by using a ^6666CCMagnifier^000000." }, identifiedDisplayName = "Lod_Spear", identifiedResourceName = "lod_spear", identifiedDescriptionName = { "Vit +25", "Class :^777777 Dagger^000000", "Attack :^777777 200^000000", "Weight :^777777 60^000000", "Weapon Level :^777777 4^000000", "Applicable Job :^777777 Swordsman Class^000000", }, slotCount = 4, ClassNum = 103 }, WEAPONTYPE_Lod_Spear = 103 [Weapon_IDs.WEAPONTYPE_Lod_Spear] = "_40617" [Weapon_IDs.WEAPONTYPE_Lod_Spear] = Weapon_IDs.WEAPONTYPE_SPEAR Àΰ£Á· ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_¿©_40617.act ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_¿©_40617.spr ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_¿©_40617_°Ë±¤.act ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_¿©_40617_°Ë±¤.spr ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_³²_40617.act ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_³²_40617.spr ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_³²_40617_°Ë±¤.act ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_³²_40617_°Ë±¤.spr ¾ÆÀÌÅÛ lod_spear.act lod_spear.spr ¾Ç¼¼»ç¸® ¿©_lod_spear.act ¿©_lod_spear.spr ³²_lod_spear.act ³²_lod_spear.spr HELP PLEASE!!!
  5. no error at all.. its just my custom weapon is showing the default spear sprite.. instead of my custom weapon here is my item_db 40617,Lod_Spear,lod spear,5,20,,1800,180:40,,3,4,0x00004082,7,2,2,3,102,1,4,{ bonus bVit,25; },{},{}
  6. trouble with adding custom weapon.. my client date is... 2013-12-23cRagexe already done this.. [40617] = { unidentifiedDisplayName = "One-Handed Spear", unidentifiedResourceName = "쟈벨린", unidentifiedDescriptionName = { "Unknown Item, can be identified by using a ^6666CCMagnifier^000000." }, identifiedDisplayName = "Lod_Spear", identifiedResourceName = "lod_spear", identifiedDescriptionName = { "Vit +25", "Class :^777777 Dagger^000000", "Attack :^777777 200^000000", "Weight :^777777 60^000000", "Weapon Level :^777777 4^000000", "Applicable Job :^777777 Swordsman Class^000000", }, slotCount = 4, ClassNum = 103 }, WEAPONTYPE_Lod_Spear = 103 [Weapon_IDs.WEAPONTYPE_Lod_Spear] = "_40617" [Weapon_IDs.WEAPONTYPE_Lod_Spear] = Weapon_IDs.WEAPONTYPE_SPEAR Àΰ£Á· ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_¿©_40617.act ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_¿©_40617.spr ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_¿©_40617_°Ë±¤.act ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_¿©_40617_°Ë±¤.spr ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_³²_40617.act ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_³²_40617.spr ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_³²_40617_°Ë±¤.act ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_³²_40617_°Ë±¤.spr ¾ÆÀÌÅÛ lod_spear.act lod_spear.spr ¾Ç¼¼»ç¸® ¿©_lod_spear.act ¿©_lod_spear.spr ³²_lod_spear.act ³²_lod_spear.spr HELP PLEASE!!!
  7. trouble with adding custom weapon.. my client date is... 2013-12-23cRagexe already done this.. [40617] = { unidentifiedDisplayName = "One-Handed Spear", unidentifiedResourceName = "쟈벨린", unidentifiedDescriptionName = { "Unknown Item, can be identified by using a ^6666CCMagnifier^000000." }, identifiedDisplayName = "Lod_Spear", identifiedResourceName = "lod_spear", identifiedDescriptionName = { "Vit +25", "Class :^777777 Dagger^000000", "Attack :^777777 200^000000", "Weight :^777777 60^000000", "Weapon Level :^777777 4^000000", "Applicable Job :^777777 Swordsman Class^000000", }, slotCount = 4, ClassNum = 103 }, WEAPONTYPE_Lod_Spear = 103 [Weapon_IDs.WEAPONTYPE_Lod_Spear] = "_40617" [Weapon_IDs.WEAPONTYPE_Lod_Spear] = Weapon_IDs.WEAPONTYPE_SPEAR Àΰ£Á· ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_¿©_40617.act ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_¿©_40617.spr ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_¿©_40617_°Ë±¤.act ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_¿©_40617_°Ë±¤.spr ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_³²_40617.act ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_³²_40617.spr ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_³²_40617_°Ë±¤.act ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_³²_40617_°Ë±¤.spr ¾ÆÀÌÅÛ lod_spear.act lod_spear.spr ¾Ç¼¼»ç¸® ¿©_lod_spear.act ¿©_lod_spear.spr ³²_lod_spear.act ³²_lod_spear.spr HELP PLEASE!!!
  8. trouble with adding custom weapon.. my client date is... 2013-12-23cRagexe already done this.. [40617] = { unidentifiedDisplayName = "One-Handed Spear", unidentifiedResourceName = "쟈벨린", unidentifiedDescriptionName = { "Unknown Item, can be identified by using a ^6666CCMagnifier^000000." }, identifiedDisplayName = "Lod_Spear", identifiedResourceName = "lod_spear", identifiedDescriptionName = { "Vit +25", "Class :^777777 Dagger^000000", "Attack :^777777 200^000000", "Weight :^777777 60^000000", "Weapon Level :^777777 4^000000", "Applicable Job :^777777 Swordsman Class^000000", }, slotCount = 4, ClassNum = 103 }, WEAPONTYPE_Lod_Spear = 103 [Weapon_IDs.WEAPONTYPE_Lod_Spear] = "_40617" [Weapon_IDs.WEAPONTYPE_Lod_Spear] = Weapon_IDs.WEAPONTYPE_SPEAR Àΰ£Á· ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_¿©_40617.act ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_¿©_40617.spr ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_¿©_40617_°Ë±¤.act ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_¿©_40617_°Ë±¤.spr ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_³²_40617.act ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_³²_40617.spr ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_³²_40617_°Ë±¤.act ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_³²_40617_°Ë±¤.spr ¾ÆÀÌÅÛ lod_spear.act lod_spear.spr ¾Ç¼¼»ç¸® ¿©_lod_spear.act ¿©_lod_spear.spr ³²_lod_spear.act ³²_lod_spear.spr HELP PLEASE!!!
  9. trouble with adding custom weapon.. my client date is... 2013-12-23cRagexe already done this.. [40617] = { unidentifiedDisplayName = "One-Handed Spear", unidentifiedResourceName = "쟈벨린", unidentifiedDescriptionName = { "Unknown Item, can be identified by using a ^6666CCMagnifier^000000." }, identifiedDisplayName = "Lod_Spear", identifiedResourceName = "lod_spear", identifiedDescriptionName = { "Vit +25", "Class :^777777 Dagger^000000", "Attack :^777777 200^000000", "Weight :^777777 60^000000", "Weapon Level :^777777 4^000000", "Applicable Job :^777777 Swordsman Class^000000", }, slotCount = 4, ClassNum = 103 }, WEAPONTYPE_Lod_Spear = 103 [Weapon_IDs.WEAPONTYPE_Lod_Spear] = "_40617" [Weapon_IDs.WEAPONTYPE_Lod_Spear] = Weapon_IDs.WEAPONTYPE_SPEAR Àΰ£Á· ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_¿©_40617.act ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_¿©_40617.spr ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_¿©_40617_°Ë±¤.act ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_¿©_40617_°Ë±¤.spr ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_³²_40617.act ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_³²_40617.spr ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_³²_40617_°Ë±¤.act ½ÅÆäÄÚÅ©·ç¼¼ÀÌ´õ_³²_40617_°Ë±¤.spr ¾ÆÀÌÅÛ lod_spear.act lod_spear.spr ¾Ç¼¼»ç¸® ¿©_lod_spear.act ¿©_lod_spear.spr ³²_lod_spear.act ³²_lod_spear.spr HELP PLEASE!!!
  10. I removed this in the new patch still not work.. help im lost.. is it zeny cash only working?
  11. No error on map server im really lost.. you have a working sql for this? ill try to delete my sql.. EDIT: Hi Technoken I check the previous version and compare to the new version in the old diff there is this line in item_vending.txt Index: db/item_vending.txt =================================================================== --- db/item_vending.txt (nonexistent) +++ db/item_vending.txt (working copy) @@ -0,0 +1,12 @@ +// Specific items for Vending System +// Format: ItemID +// Max items is equal MAX_INVENTORY ( 100 by default ) + +// TCG Card +7227 +// Mithril Coin +674 +// Silver Coin +675 +// Bronze Coin +673 Should I remove this on the new patch?
  12. Hi manage to make it work but my problem regarding "you dont have enough items" still there cant buy the item on the vend.. although i have all requirement..
  13. seems no to be working.. Pixel undefined reference to "item_vend" rathena ===================================== I successfully patch the one that provided by solid2005 but problem is i cant buy the item that is on vend.. " You dont have enought Items" even tho i have all the requirement like pods..
  14. Hi i successfully patch the diff but my problem when i try to buy the vended item it always says " you dont have enough PODS" even tho i have all the requirment
  15. Hi I manage to make it work.. but the problem is when i try to purchase an item in vend it says " you do not have enough items" even tho i have all the requirements what could be the problem?
  16. how to close topic.. problem is lua files not reading properly after pc restart its ok and fine now..
  17. Can this be updated for latest git? would be really appreciated thanks.. will be usefull for highrate server.
  18. can be this updated to latest git? or is this working with the latest git..
  19. sorry thanks.. btw when i open data.grf it said improper grf file.. i think its locked..
×
×
  • Create New...