Jump to content

Dastgir

Script Developers
  • Content Count

    3803
  • Joined

  • Last visited

  • Days Won

    248

Reputation Activity

  1. Upvote
    Dastgir got a reaction from apuadofrancisco in suggestions about latest and most stable client for 2013-2014   
    2013-08-07 is the stable client(based on my tests on it.) , Packets are already in the hercules source, you just need to change src/common/mmo.h
    About 2014 clients, I guess, we don't have any stable clients yet so far.(its absolutely upon my usage of those clients.)
     
    Some Useful Links:
    Obtaining Hercules: http://herc.ws/board/topic/152-obtaining-hercules/
    ClientSide Project: http://herc.ws/board/topic/398-client-translation-project/page-1
    Hercules News: http://herc.ws/board/forum/12-repository-news/ (you might get to know some major changes here)
    And we have a thread of useful links too: http://herc.ws/board/topic/164-requested-links/
  2. Upvote
    Dastgir reacted to evilpuncker in Let's talk about, "eAmod"...   
    if you like bugged and outdated things go for it! (the only good thing about it is the bg) but that is my opinion
  3. Upvote
    Dastgir got a reaction from ryuseikai in Resetting everything but Character and their levels.   
    TRUNCATE every table except `login` and `char` (but, will delete inventory,guilds,storage, and all other things..)
  4. Upvote
    Dastgir got a reaction from karazu in mission points   
    Points depends on ".Quests" setting.
    Point Calculation is something like.
    It loops for (.Quests) times for setting variable (a = a+(Monster level, which you are hunting) )
    then points are calculated. (Points = 3+(a/.Quests/6)
    So Basically Minimum Points are 3, Maximum Points Depends upon Monster Level and the value of .Quests (Line 148 and line 155)
  5. Upvote
    Dastgir reacted to Michi in Client Translation Project   
    This is a new translation client project that Dastgir and Me want to share for Hercules only.
     
    What this Project contain?
     
    - itemInfo.lua with iro/kro translation.
    - Some lua that contain last translation found on the board or made by us.
    - Last accessoryid.lub / accname.lub / jobname.lub / NPCIdentity.lub decompiled.
    - Texture Buttons translate.
    - msgstringtable.txt fully translate.
    - Txt files translate (questid2display.txt, mapnametable.txt etc...)
    - Up-To-Date itemInfo and other files required to run a basic Translated client.
     
    You can help us by opening PR, or just pm Dastgir to get access to the repo...
     
     
    What Client is compatible?
     
    - Client compatible until 2016.
    Link:
     
  6. Upvote
    Dastgir got a reaction from gidzdlcrz in item_db.conf to item_db.txt   
    The Last ")" was not found, or there was extra ")", anyways I improved the converter, and you can try the file @r14
  7. Upvote
    Dastgir got a reaction from phoenix29 in 2012-05-25aRagexeRE.exe. Support adding Mobs   
    assuming you have not edited npclocationRadius,(or show us the npclocationradus.lub)
    here;s the lua for mob entries: http://upaste.me/a773121136868bb5a
  8. Upvote
    Dastgir got a reaction from Mhalicot in i need help   
    You also don't have Script Field correct.
    it should be:
    Script: <" bonus bAllStats,5; "> you missed the word "bonus"
  9. Upvote
    Dastgir got a reaction from Angelmelody in Elemental Practice Targets   
    File Name: Elemental Practice Targets
    File Submitter: Dastgir Pojee
    File Submitted: 01 May 2014
    File Category: Sprites & Palettes
     
    Elemental Practice Targets by Request(http://herc.ws/board/topic/5492-elemental-practice-targets/)
    This Download contains sprite only.
    Elemental Practice Targets are the monsters, and contains 10 Sprites:
    1)Emperium Practice Target
    2)Fire Practice Target
    3)Ghost Practice Target
    4)Holy Practice Target
    5)Neutral Practice Target
    6)Poison Practice Target
    7)Shadow Practice Target
    8)Undead Practice Target
    9)Water Practice Target
    10)Wind Practice Target
    11)Earth Practice Target
     
    Credits to Rytech, for uploading these files on eathena.
     
    Click here to download this file
  10. Upvote
    Dastgir got a reaction from karazu in Elemental Practice Targets   
    File Name: Elemental Practice Targets
    File Submitter: Dastgir Pojee
    File Submitted: 01 May 2014
    File Category: Sprites & Palettes
     
    Elemental Practice Targets by Request(http://herc.ws/board/topic/5492-elemental-practice-targets/)
    This Download contains sprite only.
    Elemental Practice Targets are the monsters, and contains 10 Sprites:
    1)Emperium Practice Target
    2)Fire Practice Target
    3)Ghost Practice Target
    4)Holy Practice Target
    5)Neutral Practice Target
    6)Poison Practice Target
    7)Shadow Practice Target
    8)Undead Practice Target
    9)Water Practice Target
    10)Wind Practice Target
    11)Earth Practice Target
     
    Credits to Rytech, for uploading these files on eathena.
     
    Click here to download this file
  11. Upvote
    Dastgir got a reaction from iCORE in asking   
    All diffs for that clientDate is working well. Use Nemo patcher to diff the client.
    Just select the diffs that you want in your client, and apply it, that would be only the perfect diff for you, since (assuming), you have planned how the server should be..
    still 1 recommendation, if you want to use packet encryption feature, just diff it with custom keys
    you can create your own custom keys and check here http://www.robrowser.com/prototype/packet-keys/ if it pass, otherwise use the keys(which has passed) listed below on that page, and dont forget to edit src/map/packets.h
  12. Upvote
    Dastgir reacted to Tepoo in Questdb rework   
    i would appreciate it if the questdb would get the same nice logic like the itemdb.
     
    // Quest ID,Time Limit,Target1,Val1,Target2,Val2,Target3,Val3,Quest Title      
    1179,0,0,0,0,0,0,0,"Rumor, Time and Legend"1154,0,2197,20,0,0,0,0,"Help the poor cat"   
        to   {Id : 1179,Quest_Title: "Rumor, Time and Legend",},{Id: 1154,Hunt1: 2197 || RED_ERUMA,Value1: 20,Quest_Title: "Help the poor cat",}   
         
  13. Upvote
    Dastgir got a reaction from gidzdlcrz in item_db.conf to item_db.txt   
    Thanks for sharing your item_db.conf.
    Fixed All Errors as stated by you on @r9, Get a new copy of conf2db.lua and try it.
  14. Upvote
    Dastgir got a reaction from evilpuncker in Ultimate Guild Ranker   
    File Name: Ultimate Guild Ranker
    File Submitter: Dastgir
    File Submitted: 17 Mar 2014
    File Category: PvP, WoE, GvG, & Battleground
     
    Script By Request : http://herc.ws/board/topic/4756-ultimate-guild-ranking
    Percentage Changes:AgitCount= 20%Emp Break = 50%Active Participants = 20%KDR = 10%
    Features:
    Guild Ranking
    Previous Month Guild Ranking
    Rewards based on previous month

    Edits to made after installing the Script:
    Open npc/guild/agit_main.txt
    Add Following Line
    doevent "UltimateRanker#00::OnEmpBreak";
    Before
    // Adjust Economy Invest Level for Castle set .@Economy,getcastledata(strnpcinfo(2),2) - 5;
     
    Have a Custom WoE? And its not triggering the Script??
    Solution: add the following line on EmperiumBreaking Label.
    doevent "UltimateRanker#00::OnEmpBreak";
     
    Please report any bugs/suggestions.
     
    Click here to download this file
  15. Upvote
    Dastgir got a reaction from Lambo in MVP Ladder game help   
    function script F_GetPlural { set .@str$, getarg(0); if (countstr(.@str$," ")) { // multiple words explode(.@tmp$,.@str$," "); set .@size, getarraysize(.@tmp$); // if format is "... of|in|on ...", pluralize preceding word; else pluralize last word if (compare(.@str$," of ") || compare(.@str$," in ") || compare(.@str$," on ")) { for (set .@i,1; .@i<.@size; set .@i,.@i+1) { if (getstrlen(.@tmp$[.@i]) == 2 && compare("of|in|on",.@tmp$[.@i])) break; set .@index, .@index + 1; } } else set .@index, .@size - 1; set .@str$, .@tmp$[.@index]; set .@tmp$[.@index],"%s"; set .@format$, implode(.@tmp$," "); } else set .@format$, "%s"; set .@strlen, getstrlen(.@str$); if (.@strlen < 3) // prevent errors return ((getarg(1,0)) ? strtoupper(sprintf(.@format$,.@str$)) : sprintf(.@format$,.@str$)); setarray .@suffix$[0], charat(.@str$,.@strlen - 1), substr(.@str$,.@strlen - 2,.@strlen - 1); if (!compare("abcdefghijklmnopqrstuvwxyz",.@suffix$[0])) { // last character is not a letter set .@result$, .@str$; } // common exceptions --> singular form == plural form else if (compare("fish|glasses|sunglasses|clothes|boots|shoes|greaves|sandals|wings|ears",.@str$)) { set .@result$, .@str$; } // ends in -s, -x, -z, -ch, -sh --> add -es else if (.@suffix$[0] == "s" || .@suffix$[0] == "x" || .@suffix$[0] == "z" || .@suffix$[1] == "ch" || .@suffix$[1] == "sh") { set .@result$, .@str$ + "es"; } // ends in -f, -fe --> remove -f, -fe --> add -ves else if ((.@suffix$[0] == "f" || .@suffix$[1] == "fe") && .@suffix$[1] != "ff") { if (compare("belief|cliff|chief|dwarf|grief|gulf|proof|roof",.@str$)) set .@result$, .@str$ + "s"; // exceptions --> add -s else set .@result$, substr(.@str$,0,.@strlen - 2 - (.@suffix$[1] == "fe")) + "ves"; } // ends in consonant + -y --> remove -y --> add -ies else if (.@suffix$[0] == "y" && !compare("aeiou",charat(.@suffix$[1],0))) { set .@result$, delchar(.@str$,.@strlen - 1) + "ies"; } // ends in -o --> exceptions --> add -es else if (.@suffix$[0] == "o" && compare("buffalo|domino|echo|grotto|halo|hero|mango|mosquito|potato|tomato|tornado|torpedo|veto|volcano",.@str$)) { set .@result$, .@str$ + "es"; } // default --> add -s else { set .@result$, .@str$ + "s"; } return ((getarg(1,0)) ? strtoupper(sprintf(.@format$,.@result$)) : sprintf(.@format$,.@result$));}function script F_InsertPlural { return sprintf(getarg(3,"%d %s"), getarg(0), ((getarg(0) == 1) ? getarg(1) : callfunc("F_GetPlural",getarg(1),getarg(2,0))));}function script F_InsertComma { set .@str$, getarg(0); for (set .@i,getstrlen(.@str$)-3; .@i>0; set .@i,.@i-3) set .@str$, insertchar(.@str$,",",.@i); return .@str$;} Add these functions(so there will be no unknown function error...).. Courtesy of rA...
     
    for Second Error, change hp to Hp, and it will be fixed.
  16. Upvote
    Dastgir got a reaction from lakasmonk123 in [help]Compiling error   
    http://stackoverflow.com/questions/10888391/error-link-fatal-error-lnk1123-failure-during-conversion-to-coff-file-inval
    This seems to answer your question

    Either disable incremental linking, by going toProject Properties -> Configuration Properties -> Linker (General) -> Enable Incremental Linking -> "No (/INCREMENTAL:NO)" or install VS2010 SP1.
  17. Upvote
    Dastgir got a reaction from gidzdlcrz in item_db.conf to item_db.txt   
    Hello,
    I see many users having some problem with new item_Db format, stating that it cannot be used with the Old Tools available, and there's no tool to parse the new item_db.conf
    So I made this script, which converts item_db.conf to item_db.txt , (and you can change the syntax of item_db.txt too)
     
    Script: https://github.com/dastgirpojee/LuaScripts/tree/master/Lua/conf2db
    ReadMe.MD shows how to use it..
    Usage:
    1)Copy item_db.conf to "conf2db" Folder.2)Just run the "conf2db.bat" and Enter some details of file.Format(If Asked):Usage: conf2db.lua {FileName} {Output} {Format(RE,or see below)}.Format: #id #script #View, [Case-insensitive]Default: #ID,#AegisName,#Name,#Type,#Buy,#Sell,#Weight,#Atk:#Matk,#Def,#Range,#Slots,#Job,#Upper,#Gender,#Loc,#wLV,#eLV,#Refine,#View,{ #Script },{ #OnEquipScript },{ #OnUnequipScript } [Case-insensitive]Additional Parameter: #eqmax #eqmin(max and minimum equip level) [Case-insensitive]  
    P.S: I made the script just for the users who wanted to use old Tools.. and hercules cannot read .txt item_db..
  18. Upvote
    Dastgir got a reaction from evilpuncker in item_db.conf to item_db.txt   
    Hello,
    I see many users having some problem with new item_Db format, stating that it cannot be used with the Old Tools available, and there's no tool to parse the new item_db.conf
    So I made this script, which converts item_db.conf to item_db.txt , (and you can change the syntax of item_db.txt too)
     
    Script: https://github.com/dastgirpojee/LuaScripts/tree/master/Lua/conf2db
    ReadMe.MD shows how to use it..
    Usage:
    1)Copy item_db.conf to "conf2db" Folder.2)Just run the "conf2db.bat" and Enter some details of file.Format(If Asked):Usage: conf2db.lua {FileName} {Output} {Format(RE,or see below)}.Format: #id #script #View, [Case-insensitive]Default: #ID,#AegisName,#Name,#Type,#Buy,#Sell,#Weight,#Atk:#Matk,#Def,#Range,#Slots,#Job,#Upper,#Gender,#Loc,#wLV,#eLV,#Refine,#View,{ #Script },{ #OnEquipScript },{ #OnUnequipScript } [Case-insensitive]Additional Parameter: #eqmax #eqmin(max and minimum equip level) [Case-insensitive]  
    P.S: I made the script just for the users who wanted to use old Tools.. and hercules cannot read .txt item_db..
  19. Upvote
    Dastgir got a reaction from EriNa_KillerSoul in item_db.conf to item_db.txt   
    Hello,
    I see many users having some problem with new item_Db format, stating that it cannot be used with the Old Tools available, and there's no tool to parse the new item_db.conf
    So I made this script, which converts item_db.conf to item_db.txt , (and you can change the syntax of item_db.txt too)
     
    Script: https://github.com/dastgirpojee/LuaScripts/tree/master/Lua/conf2db
    ReadMe.MD shows how to use it..
    Usage:
    1)Copy item_db.conf to "conf2db" Folder.2)Just run the "conf2db.bat" and Enter some details of file.Format(If Asked):Usage: conf2db.lua {FileName} {Output} {Format(RE,or see below)}.Format: #id #script #View, [Case-insensitive]Default: #ID,#AegisName,#Name,#Type,#Buy,#Sell,#Weight,#Atk:#Matk,#Def,#Range,#Slots,#Job,#Upper,#Gender,#Loc,#wLV,#eLV,#Refine,#View,{ #Script },{ #OnEquipScript },{ #OnUnequipScript } [Case-insensitive]Additional Parameter: #eqmax #eqmin(max and minimum equip level) [Case-insensitive]  
    P.S: I made the script just for the users who wanted to use old Tools.. and hercules cannot read .txt item_db..
  20. Upvote
    Dastgir got a reaction from Mhalicot in About Item delay.   
    Its clientSide Error
     
    Get MsgString for respective client (https://github.com/ROClientSide/Translation/tree/master/Data/MsgString)
     
    If you are using from (https://github.com/ROClientSide/Translation/tree/master/Data/) , it has reversed order for 2 lines, and is used for newer clients..
  21. Upvote
    Dastgir got a reaction from gidzdlcrz in About Item delay.   
    Its clientSide Error
     
    Get MsgString for respective client (https://github.com/ROClientSide/Translation/tree/master/Data/MsgString)
     
    If you are using from (https://github.com/ROClientSide/Translation/tree/master/Data/) , it has reversed order for 2 lines, and is used for newer clients..
  22. Upvote
    Dastgir got a reaction from ToiletMaster in Input command on script selectable   
    while(input(.@novice,1,1000)) { mes ""+.npc_name$+""; mes "Please re-think about your choice. It's not making any sense!"; close; } mes ""+.npc_name$+""; mes "So..You want to get "+.@novice+" Novice Potion?"; next; if(countitem(JELLOPY_ID) >= (.@novice*2)){ mes ""+.npc_name$+""; mes "Here you go!"; delitem JELLOPY_ID,.@novice*2; getitem NOVICE_POTION_ID,.@novice; next; mes ""+.npc_name$+""; mes "Come back if you have more!"; close; } you can also set configuration(variables) for that multiplier...
  23. Upvote
    Dastgir got a reaction from ToiletMaster in Shortening this script   
    if(baselevel >= 5 && novice_ground == 1) { mes ""+.npc_name$+""; mes "Good job Leveling up! Go on! Take one item from my stash! It's on me!"; next; .@menu$ = ""; for (.@i=0; .@i<getarraysize(.items); .@i++){ .@menu$ = (.@menu$)+""+getitemname(.items[.@i])+":"; } .@menu$ = (.@menu$)+"Cancel"; .@item_selected = select(.@menu$); if (.@item_selected > getarraysize(.items)){close;} next; mes ""+.npc_name$+""; mes "You've selected ^FF0000"+getitemname(.items[(.@item_selected)-1])+"^000000."; mes "Are you sure?"; next; switch(select("Yes:No")){ case 1: mes ""+.npc_name$+""; mes "Here you go!"; getitem .items[(.@item_selected)-1],1; set novice_ground, 2; close; case 2: mes ""+.npc_name$+""; mes "Come back once you've decided!"; close; } } And at OnInit:
    OnInit: setarray .items[0],13040,13415,1545,13041; end;
  24. Upvote
    Dastgir reacted to kisuka in Question about Script Developer.   
    Major commits in the next week or so ;3
  25. Upvote
    Dastgir got a reaction from Yoh Asakura in Rebirth System   
    Maybe Try this: http://upaste.me/226e1186830e155f2
×
×
  • Create New...

Important Information

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