Dastgir
Script Developers-
Content Count
3805 -
Joined
-
Last visited
-
Days Won
250
Content Type
Profiles
Forums
Downloads
Staff Applications
Calendar
Everything posted by Dastgir
-
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)
-
this is supported from 2011-08-17 client So 2010 clients are not supported.
-
[RESOLVED] Weird error ([Debug]: at ..\src\map\npc.c:1432)
Dastgir replied to Leecher's question in General Server Support
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 -
Map Looks like throne or marriage room.
-
A bit tricky but I will try it.
-
[RESOLVED] Weird error ([Debug]: at ..\src\map\npc.c:1432)
Dastgir replied to Leecher's question in General Server Support
Post that line from npc.c (1432) -
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)
-
Savedata\OptionInfo - Problem [2013-08-07]
Dastgir replied to Luffy's question in Client-Side Support
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) -
VPS have ports opened by default.
-
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
-
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;}
-
Open src/common/mmo.h and changed packetver to 20131223 , then recompile.
-
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}
-
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 ..)
-
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.
-
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
-
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.
-
Savedata\OptionInfo - Problem [2013-08-07]
Dastgir replied to Luffy's question in Client-Side Support
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) -
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.
-
Help with Lua decompiling (willing to pay for service)
Dastgir replied to guka90's question in Client-Side Support
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. -
Help with Lua decompiling (willing to pay for service)
Dastgir replied to guka90's question in Client-Side Support
I can try, but not sure If I can. -
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
-
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/
-
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.
-
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?