Jump to content

Dastgir

Script Developers
  • Content Count

    3805
  • Joined

  • Last visited

  • Days Won

    250

Everything posted by Dastgir

  1. A bit tricky but I will try it. also what about making it support translating of item_info.lua as well? I mean, copy item name and description from id* files and change it at item_info? that would be so much awesome lol =D it supports from iteminfo.lua too, just instead of putting idnum2***.txt put iteminfo.lua (The tool recognizes the file by extension, if its txt, it goes to check idnum format, if its lua or lub, it goes to check iteminfo format)
  2. this is supported from 2011-08-17 client So 2010 clients are not supported.
  3. From line 1429 to 1435 if ( SQL_ERROR == SQL->StmtPrepare(stmt, "SELECT `name`, `itemid`, `amount` FROM `%s`", map->npc_market_data_db) || SQL_ERROR == SQL->StmtExecute(stmt) ) { SqlStmt_ShowDebug(stmt); SQL->StmtFree(stmt); return; } SqlStmt_ShowDebug(stmt); <<< Line 1432 that means map->npc_market_data_db is empty So check if you have following lines in map.c: Line 3659 (if its without any source edits) else if(strcmpi(w1,"npc_market_data_db")==0) strcpy(map->npc_market_data_db, w2); and in inter-server.conf: Line 130 or around that npc_market_data_db: npc_market_data if not, that means you have not updated it properly, so maybe update it via git(which is the most preferred way) or get a new revision
  4. A bit tricky but I will try it.
  5. remove it from mob_db.txtgive me list of all mini boss id and I can do it for you.(since mini boss dont have any special field to check if they are mini boss)
  6. it should be in System/LuaFiles514/ https://github.com/ROClientSide/Translation/tree/master/System/LuaFiles514 (before I thought it should be in System/ but I was wrong)
  7. VPS have ports opened by default.
  8. BG Flavius CTF (Source Edit to support eAmodBG in hercules) Its the edits to current eAmod script and hercules source to make eAmodBG(CTF) workable in Hercules
  9. hercules have its own trader shop, which works exactly the same as the one you posted Example: prontera,153,152,1 trader TestCustom2 4_F_EDEN_OFFICER,{ OnInit: tradertype(NST_CUSTOM); sellitem Red_Potion,2; //Format: (sellitem AegisNameOrID,Price,Quantity;), Quantity and Price Field is optional end;/* allows currency to be #CASHPOINTS and #KAFRAPOINTS */OnCountFunds: setcurrency(#CASHPOINTS,#KAFRAPOINTS); //Change to Other Variable end;/* receives @price (total cost) and @points (the secondary input field for cash windows) */OnPayFunds: dispbottom "Hi: price="+@price+" and points="+@points; if( #KAFRAPOINTS < @points || #CASHPOINTS < @price-@points ) end; #KAFRAPOINTS -= @points; #CASHPOINTS -= (@price-@points); purchaseok(); end;}
  10. Open src/common/mmo.h and changed packetver to 20131223 , then recompile.
  11. If you meant by labels used by NPC: *doevent "<NPC object name>::<event label>";This command will start a new execution thread in a specified NPC object at the specified label. The execution of the script running this command will not stop, and the event called by the 'doevent' command will not run until the invoking script has terminated. No parameters may be passed with a doevent call.The script of the NPC object invoked in this manner will run as if it's been invoked by the RID that was active in the script that issued a 'doevent'. As such, the command will not work if an RID is not attached. if you mean by functions callfunc "<function name>"{,Arguments}
  12. The processing get stuck when item was with override label of nouse struct e.g. { Id: 5555 AegisName: "Leaf_Cat_Hat" Name: "Leaf Cat Hat" Type: 5 Buy: 20 Weight: 100 Def: 6 Upper: 63 Loc: 256 View: 539 BindOnEquip: true Nouse: { override: 99 <---add this line for test sitting: true } Trade: { nodrop: true noselltonpc: true nogstorage: true } Script: <" bonus bAgi,2; bonus3 bAutoSpellWhenHit,AL_HEAL,3,10; "> }, except for that small bug, there is no bug for me Fixed @r19. (ahh, I have overseen too many lines ..)
  13. version should not cause error I guess(I never set the version to specific thing) just check that all servers are on, and its port are open(if on pc, vps ports are always open, except if hosting set it so.) Check if any of the server is giving warning/debug/ or error.
  14. working now, but cant use i found ... The First error : Fixed. itemdb_read_cached_packages: its not this tool error, it says, those item listed does not exist in item_db, check for those items in your item_db
  15. I am not having slowness issues with my GM accounts, maybe if you check logs, and there's many player online, it can slow down the loading.
  16. https://github.com/ROClientSide/Translation/tree/master/System get optioninfo.lua and put it in System folder. (if it doesn't work, change .lua to .lub)
  17. Requested by AngelMelody: http://herc.ws/board/topic/2954-item-db-file-structure-overhaul/page-4#entry37029 This is a simple tool which allows you to copy display names for range of items from idnum2itemdisplayname.txt or from iteminfo.lua to your item_db.conf, within just 30 seconds. Link: https://github.com/dastgir/LuaScripts/tree/master/Lua/CopyDisplayName just run copyname.bat and input the details it requires.
  18. Since there's many File, I suggest you to do it(I am too lazy to do those many files). you would have to check binary codes, (or chunkspy it) and make the file accordingly. LuaDec 5.0 Fails because of complex functions like f({{x=0,y=1},{x=2,y=2},{x=1,z=1}}) either modify luadec(if they have source codes) or make lua code from chunkspy.
  19. I can try, but not sure If I can.
  20. About the marriage system I meant the sprite changed. I can't even equip a tuxedo now it's a misc item ._. open db/item_db2.conf, Search /*{ Id: 2338 AegisName: "Wedding_Dress" Name: "Wedding Dress" Type: 5 Buy: 43000 Weight: 500 Job: 0xFFFFFFFE Rank: 16 OnEquipScript: <" sc_start SC_WEDDING,-1,0; "> OnUnequipScript: <" sc_end SC_WEDDING; ">},*//*{ Id: 7170 AegisName: "Tuxedo" Name: "Tuxedo" Type: 5 Buy: 43000 Weight: 10 Job: 0xFFFFFFFE Gender: 1 Rank: 16 OnEquipScript: <" sc_start SC_WEDDING,-1,0; "> OnUnequipScript: <" sc_end SC_WEDDING; ">},*/ and remove those "*" and "*/" from the following. how can I change the items that are in the cash shop? Do you mean the cash shop that is accessed via the button on top right, for that you have to edit db/cashshop_db.conf For getting cashpoints, you can get it by command @cash Amount
  21. I mean In future, non-English country user did new item_db.conf translatoin by following these steps: convert to old item_db.txt --> did translation --> convert back item_db.conf It will lose some new fields(BuyingStore、Delay、Nouse 、Stack... so on) , So that's why I ask a tool can translate item_db.conf directly. https://github.com/HerculesWS/Hercules/tree/master/tools -> item_merge.lua adds those buyingstore and all fields.I will try to make the tool you requested. These archives,item_***.txt,You know, are no longer maintained in future ,So it's possible to know in advance the mentioned things will happen. TYVM for being willing to create a such tool..<3 ,that's good news for me and other users. Topic Link: http://herc.ws/board/topic/5914-display-name-to-item-db/
  22. Access denied for user 'mybadadmin'@'167.xxx.xxx.xxx' (using password: YES) that means you have input wrong password in inter-server.conf P.S: If you have mysql installed in that vps only, its better to use 127.0.0.1 instead of wan ip.
  23. How do I get items on the Cash shop? Where do I get the cash shop money? Here's code to make cash shop prontera,152,152,1 trader CashShop 4_F_EDEN_OFFICER,{ OnInit: tradertype(NST_CASH); sellitem IdOrAegisName,AMOUNT; end;} you can get cash points by custom quests or events. just adding following line after getitem would give you cashpoints #CASHPOINTS += amount; Job isn't changed but only looks change(if i recall correctly). isn't it great that job doesn't change? 2013-08-07 is stable for 2013 clients. (for me 2014-02-05 also seems working good) that link you gave is for full client, so you can get working kRO and upload your full client. Data Folder: https://github.com/ROClientSide/Translation Client: http://k3dt.eu/Ragexe/unpacked/ I suggest you to use NEMO Patcher to diff the client: http://herc.ws/board/topic/2905-nemo-client-patcher/page-1 you need to edit jobname.lua and npcidentity.lua for clientside Guide: http://herc.ws/wiki/Custom_Mobs Get palletes and increase the limit from conf/battle/client.conf // Valid range of dyes and styles on the client.min_hair_style: 0max_hair_style: 27min_hair_color: 0max_hair_color: 8min_cloth_color: 0 max_cloth_color: 4 are both computer connected? is that local IP correct? you cannot connect to server or that message just pop out but you can connect to server?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.