Jump to content

Dastgir

Script Developers
  • Content Count

    3803
  • Joined

  • Last visited

  • Days Won

    248

Reputation Activity

  1. Upvote
    Dastgir got a reaction from Leecher in [RESOLVED] Weird error ([Debug]: at ..\src\map\npc.c: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
     
  2. Upvote
    Dastgir got a reaction from evilpuncker in Display Name to item_db   
    A bit tricky but I will try it.
  3. Upvote
    Dastgir got a reaction from iZeal in MVP and Mini Boss Card global removal   
    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)
  4. Upvote
    Dastgir got a reaction from karazu in Dastgir's Services   
    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
  5. Upvote
    Dastgir got a reaction from Angelmelody in Display Name to item_db   
    Fixed @r19. (ahh, I have overseen too many lines ..)
  6. Upvote
    Dastgir got a reaction from Azul in Item DB file structure overhaul   
    @mysterious, I think he meant, can server read txt files.
    @Azul, Emulator don't read txt.. but you can convert conf to txt via (http://herc.ws/board/topic/5363-item-dbconf-to-item-dbtxt/) and then convert it back to conf when you are done with editing via (https://github.com/HerculesWS/Hercules/blob/master/tools/itemdbconverter.pl) or (http://haru.ws/hercules/itemdbconverter)
  7. Upvote
    Dastgir got a reaction from evilpuncker in Display Name to item_db   
    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.
  8. Upvote
    Dastgir got a reaction from Angelmelody in Display Name to item_db   
    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.
  9. Upvote
    Dastgir got a reaction from Angelmelody in Item DB file structure overhaul   
    Topic Link: http://herc.ws/board/topic/5914-display-name-to-item-db/
  10. Upvote
    Dastgir got a reaction from Kichi in Display Name to item_db   
    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.
  11. Upvote
    Dastgir got a reaction from Skyline in [Error] can't make sql   
    not yet experienced this yet, but search on internet shows that, if you have imported it from windows, then linebreaks are different(linux and windows handles it differently)So do these commands

    dos2unix sysinfogen.shchmod +x sysinfogen.shThen , make all
  12. Upvote
    Dastgir got a reaction from evilpuncker in Item DB file structure overhaul   
    Topic Link: http://herc.ws/board/topic/5914-display-name-to-item-db/
  13. Upvote
    Dastgir got a reaction from guka90 in Help with Lua decompiling (willing to pay for service)   
    I can try, but not sure If I can.
  14. Upvote
    Dastgir got a reaction from Waker in General questions   
    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 
  15. Upvote
    Dastgir got a reaction from Waker in General questions   
    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?  
  16. Upvote
    Dastgir got a reaction from Aly in [Error] can't make sql   
    not yet experienced this yet, but search on internet shows that, if you have imported it from windows, then linebreaks are different(linux and windows handles it differently)So do these commands

    dos2unix sysinfogen.shchmod +x sysinfogen.shThen , make all
  17. Upvote
    Dastgir got a reaction from Yazoo in Rebirth System   
    File Name: Rebirth System
    File Submitter: Dastgir
    File Submitted: 05 Apr 2014
    File Category: Utility
     
    It is Rebirth System , which allows to rebirth unlimited times
     
    Some of its features on how it works
    It does not give any Extra StatusPoints(Adjustable via Config)
    Requires Some Item to Rebirth
    Rewards are given when you rebirth with x% chance
    You can Only Rebirth when you are Max Level (3rd,2nd job Configurable Option)
    RebirthSystem Ranking(To know who has Rebirth How many times)
    Master Rebirth System(When you have Rebirthed for x times, You can do Master Rebirth. You can add ItemReward and ItemRequirements, only for MasterRebirth too..)
    GM can reset the Rebirth Rankings(Affects StatusPoint Given)
    Can Force the User to be rebirthed to Novice/High Novice.
    Can Give x status point every Rebirth.
    Can Give y status point every Master Rebirth.
    Can Limit Number of Rebirth/Master Rebirths.
    Can rebirth to Any Jobs(Job Adjustable via Config)

    I made this script because it was requested to me by someone.
     
    Click here to download this file
  18. Upvote
    Dastgir got a reaction from iramenous in Request Script   
    OnPCJobLvUpEvent:if ( JobLevel == 10 ){ //Pop Up if level 10mes "Pop up";close;}else if( JobLevel == 50) { //Pop up if level 50mes "You reached Job.Level 50";close;}end;
  19. Upvote
    Dastgir got a reaction from ZelosAvalon in Event Ranking   
    first of all, I posted the script part,2) can you tell exact variable, you told #Event_Points on first line and Event_Point on second line.
  20. Upvote
    Dastgir got a reaction from ZelosAvalon in Event Ranking   
    #Event_point and #T_Event_Point are account variables, so what should be displayed on ranking along with those variables values?
  21. Upvote
    Dastgir got a reaction from ZelosAvalon in Event Ranking   
    #Event_Points are the variables that are Account Bounded and not Character bounded. and a Account contains minimum 9 characters.. So how can I display a specific player name? Or get any chracter name from that account?
  22. Upvote
    Dastgir got a reaction from ZelosAvalon in Event Ranking   
    OnRanking: mes "[Ranking System]"; query_sql "SELECT `char_reg_num_db`.`value`,`char`.`name` FROM `char` INNER JOIN `char_reg_num_db` ON `char_reg_num_db`.`char_id`=`char`.`char_id` WHERE `char_reg_num_db`.`key`='Event_Point' ORDER BY `char_reg_num_db`.`value` DESC LIMIT 10",.@value,.@name$; for (.@i=0; .@i<getarraysize(.@value); .@i++){ mes (.@i+1)+".) ["+ .@name$[.@i] +"] - "+ .@value[.@i]; } deletearray .@name$[0],10; deletearray .@value$[0],10; close; if the variable is Event_Point, this would work.
  23. Upvote
    Dastgir got a reaction from jaBote in about log limit   
    Some SQL Query to help:
    Delete atcommandlog and other logs older than 1 month: (2592000 = (60sec*60min*24hours*30days))
     
    DELETE FROM `atcommandlog` WHERE UNIX_TIMESTAMP(`atcommand_date`)<(UNIX_TIMESTAMP(NOW())-2592000);DELETE FROM `picklog` WHERE UNIX_TIMESTAMP(`time`)<(UNIX_TIMESTAMP(NOW())-2592000);DELETE FROM `zenylog` WHERE UNIX_TIMESTAMP(`time`)<(UNIX_TIMESTAMP(NOW())-2592000);DELETE FROM `branchlog` WHERE UNIX_TIMESTAMP(`branch_date`)<(UNIX_TIMESTAMP(NOW())-2592000);DELETE FROM `mvplog` WHERE UNIX_TIMESTAMP(`mvp_date`)<(UNIX_TIMESTAMP(NOW())-2592000);DELETE FROM `npclog` WHERE UNIX_TIMESTAMP(`npc_date`)<(UNIX_TIMESTAMP(NOW())-2592000);DELETE FROM `chatlog` WHERE UNIX_TIMESTAMP(`time`)<(UNIX_TIMESTAMP(NOW())-2592000);DELETE FROM `loginlog` WHERE UNIX_TIMESTAMP(`time`)<(UNIX_TIMESTAMP(NOW())-2592000); 
  24. Upvote
    Dastgir got a reaction from Hadeszeus in Mission Board updated by Annie   
    in rA, strcmp:
    *strcmp("<string>","<string>")This command compares two strings are returns a value: 1: string 1 > string 2 0: strings are equal -1: string 1 < string 2 and in the script, it checks for 0, so we can directly compare .
    and about getserverdef, we have it other way round, we directly define constant : https://github.com/HerculesWS/Hercules/commit/950e3ebcdbbde96b090fa681ce88ecf4069f2f64 (Implemented in this commit)
  25. Upvote
    Dastgir got a reaction from xzor0aster in Client Version Help   
    Have you diffed with "Restore Login Window" ,
    I recommend you to use NEMO Patcher.
×
×
  • Create New...

Important Information

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