Jump to content

Alexandria

Members
  • Content Count

    341
  • Joined

  • Last visited

  • Days Won

    3

Reputation Activity

  1. Upvote
    Alexandria got a reaction from Lilystar in Disabling or removing aura in 20131223 client   
    Then you need to edit your .exe with an hexadecimal editor.
     
    Search:
     
    String:
    65 66 66 65 63 74 5C 70 69 6B 61 70 69 6B 61 32 2E 62 6D 70
     
    replace for:
    65 66 66 65 63 74 5C 70 69 6B 61 70 69 6B 61 32 00 00 00 00
     
    and
     
    String:
    65 66 66 65 63 74 5C 66 72 65 65 7A 69 6E 67 5F 63 69 72 63 6C 65 2E 62 6D 70
     
    replace for:
    65 66 66 65 63 74 5C 66 72 65 65 7A 69 6E 67 5F 63 69 72 63 6C 65 00 00 00 00
  2. Upvote
    Alexandria reacted to jaBote in double drop on random mobs   
    I'm done with it, but I haven't tested.
     
    Would like to release it, that's the reason of doing the script in a more general and configurable way than what you just asked.
     
    Upaste mirror: http://upaste.me/fb7712684462cbaf3
     
    //===== Hercules Script =======================================================//= Multiple droprate on mob elements from a set (default set: elements).//===== By: ===================================================================//= jaBote//===== Current Version: ======================================================//= 0.9.0 alpha//===== Changelog =============================================================//= 0.9.0 Initial version [jaBote]//===== Description: ==========================================================//= Implements multiple drop rates on mob sets that change each week.//===== Warning: ==============================================================//= -> addmonsterdrop/delmonsterdrop script commands don't work well with mobs//= that drop the same item more than once.//= -> Doesn't work well with @reloadscript and/or server restarts (it will//= reassign a new set).//===== Additional information: ===============================================//= Configurations are located from line 22 (OnInit label).//=============================================================================- script element_drops -1,{OnInit: // Configurations START. // Add in mob IDs on the place of the numbers setarray .set_0[0], 1001, 1002, 1004, 1005, 1007; // Neutral setarray .set_1[0], 1001, 1002, 1004, 1005, 1007; // Water setarray .set_2[0], 1001, 1002, 1004, 1005, 1007; // Earth setarray .set_3[0], 1001, 1002, 1004, 1005, 1007; // Fire setarray .set_4[0], 1001, 1002, 1004, 1005, 1007; // Wind setarray .set_5[0], 1001, 1002, 1004, 1005, 1007; // Poison setarray .set_6[0], 1001, 1002, 1004, 1005, 1007; // Holy setarray .set_7[0], 1001, 1002, 1004, 1005, 1007; // Shadow setarray .set_8[0], 1001, 1002, 1004, 1005, 1007; // Ghost setarray .set_9[0], 1001, 1002, 1004, 1005, 1007; // Undead // Set to the name of the type of each set of $@set_X // BEWARE! Number of set of this array MUST be the same than the total // amount of sets (which is quite obvious). This is VERY IMPORTANT. setarray .names$[0], "Neutral", "Water", "Earth", "Fire", "Wind", "Poison", "Holy", "Shadow", "Ghost", "Undead"; // Set to the multiplication rate of drops (should be >= 1) // Examples: 100 = x1 (useless); 200 = x2; 50 = x0.5 // Based on final drop rates after battle conf calculations. .multiplicator = 200; // Force change of element each week? (1 = Yes; 0 = No) .force_change = 1; // Text message. You can change or translate it if you want, but be careful // not to touch the %s since you'll screw the dynamic formatting .announce_format$ = "The element %s has been doubled for this week."; // Atcommand name you want to use for keeping your users informed .atcommand$ = "ddw"; // Configurations END. Don't touch unless you know what you're doing. // Bind an atcommand bindatcmd .atcommand$,strnpcinfo(3)+"::OnCommand"; // Get the amount of sets and use an impossible set .amount = getarraysize(.names$); .set = -1; // Let it fall through the OnMon0000: label to assign first set on server // startup (or reloadscript)OnMon0000: .@old_set = .set; // Force the change of set if required if (.force_change) { do { .set = rand(.amount); } while (.set == .@old_set); } else { .set = rand(.amount); } // Restore old drops and assign new ones... if set hasn't changed if (.@old_set != .set) { freeloop(1); // We could be needing it // Restoring old sets, just if there was an old set if (.@old_set >= 0) { .@old_set_size = getarraysize(getd( ".set_" + .@old_set)); for (.@i = 0; .@i < .@old_set_size; .@i++) { // This is pretty ugly, but there's no other mean to do this. .@mobid = getd( ".set_" + .@old_set + "[" + .@i + "]" ); .@drop_count = getd(".mobdrop_count_[" + .@i + "]"); for (.@j = 0; .@j <= .@drop_count; .@j++) { // We only have to restore previously saved originals .@drop_item = getd(".mobdrop_item_" + .@i + "[" + .@j + "]"); .@drop_rate = getd(".mobdrop_rate_" + .@i + "[" + .@j + "]"); // This updates monster drop back to original state addmonsterdrop(.@mobid, .@drop_item, .@drop_rate); } } } // Applying multiplicator to new set for (.@i = 0; .@i < getarraysize( getd( ".set_" + .set ) ); .@i++) { // Get original mob drops .@mobid = getd( ".set_" + .set + "[" + .@i + "]" ); getmobdrops(.@mobid); setd ".mobdrop_count_[" + .@i + "]", $@MobDrop_count; // We'll need it for (.@j = 0; .@j <= $@MobDrop_count; .@j++) { // We only have to save originals setd ".mobdrop_item_" + .@i + "[" + .@j + "]", $@MobDrop_item[.@i]; setd ".mobdrop_rate_" + .@i + "[" + .@j + "]", $@MobDrop_rate[.@i]; // Calculate new rate. If it gives a value out of bounds, // addmonsterdrop will then take care of capping it inbounds // along with a warning we can safely ignore. .@new_rate = ($@MobDrop_rate[.@i] * .multiplicator) / 100; // This updates monster drop item if the mob already drops it addmonsterdrop(.@mobid, $@MobDrop_item[.@i], .@new_rate); } } freeloop(0); } // Announce new set for everyone and finish. .@announce_text$ = sprintf(.announce_format$, .names$[.set]); announce .@announce_text$, bc_all|bc_blue; end;OnCommand: // Announce set just for yourself and finish. .@announce_text$ = sprintf(.announce_format$, .names$[.set]); announce .@announce_text$, bc_self|bc_blue; end;} Please test it and point any bugs or errors you can find on it.
     
    P.S.: I've made an effort to make it extra readable so that anybody could modify it if they wanted.
  3. Upvote
    Alexandria got a reaction from RagnarokOnline2015 in Basic Complete Renewal Data English Folder   
    This data folder is a fresh and clean data folder. It does not have items custom or other modifications (Only I added some kafra cutins).

    Based upon CalciumKid's folder, OnNplay's folder, Megasantos's folder, Michieru and dastgirpojee.
    [*]Basic kRO Fonts [*]Basic Translated Textures [*]Official Hairstyles (Only if your rdata.grf has been updated) [*]553 Clothes Dyes / 251 Hair Dyes Pack [*]Kafra anime style (you can remove them if you want textureÀ¯ÀúÀÎÅÍÆäÀ̽ºillust)

     
    Data Version 4.0
    ! NOTE: This version is for 2012 and 2013 clients.
     
    Download: [Dropbox] [Mega] [4shared] [Gamefront] [Rapidgator] [Uploaded] [Putlocker] [Turbobit]
    ChangeLog:
    Fixed: Palletes are working properly.
    Added: More sprites
    Added: More textures translated
    !Merge with Client Translation Project rev. #31
     
    MD5 Hash: 10cb8c6819acc00978417dbbedfa5638
     
    ==========================================================
     
    Data Version 3.0
    ! NOTE: This version is for 2012-04-10 or older.
     
    Download: [Dropbox] [Mega] [4shared] [Gamefront] [Rapidgator] [Uploaded] [Putlocker] [Turbobit]
    ChangeLog:
    Delete all those files for pre-renewal.
    Updated idnum2itemdisplaynametable.txt by Ziu
    Updated msgstringtable.txt by TrueNoir
    Added: Dewata Quest Translated Lua v1.1 by Dastgir Pojee
     
    MD5 Hash: e3806675a03529a154d644e565bd33aa
     
    ==========================================================
     
    Data Version 2.0
    ! NOTE: This is a PRE-RENEWAL version, only for 2010 or older.
     
    Download: [Dropbox] [Mega] [4share] [Gamefront] [Rapidgator] [Uploaded] [Putlocker] [Turbobit]
    ChangeLog:
    Added: More sprites (Latest)
    Added: Official Hairstyles
    Added: More NPC sprites

    MD5 Hash: 220ae49fc6dc50ef7b8df3c49e007939
     
    ==========================================================

    Data Version 1.0
     
    Download: [Dropbox] [Mega] [4share] [Gamefront] [Rapidgator] [Uploaded] [Putlocker] [Turbobit]
    ChangeLog:
    -Initial release-
     
    MD5 Hash: 72a16ec1e3854727cf853d13d6cdbf6f
     
    ==========================================================
     
    Let me know if you have any problems
  4. Upvote
    Alexandria reacted to quesoph in @dpt command   
    atcommand.c
     
     
    pet.h
     
     
     
    clif.c
     
     
  5. Upvote
    Alexandria reacted to Kichi in NDG Protection   
    No Delay Grf Protection
     
     
     
    NDG Protection is a src modification to make sure NDG,speed hack, WPE Users still follow the rules.
     
    History:
    This is a simple code, which we have made since long to minimize the NDG User.
    The first way to solve NDG, we add a cooldown for skills that dosn't has a fixed cooldown (Sonic Blow, Cross Impact, etc).
    But the player doesn't allowed to do double cast.
    Finaly we made this code that minimize the NDG users, but still keep the original feature that is double cast for some skills (Sonic Blow, Cross Impact, etc).

    Implementation:
    Download 2 files above Use manual way to diff (first file) the core and recompile. Copy Paste the second file to "conf/import/" And you will see the effect

     
     
    Feature:
    -The user still able to use double SB / CI / etc.
    -You may switch on and off.
    -Very simple
     
     
    Any comments, suggestions, even critism in order to make this feature better is opened.
    Thank You.
     
     
    Note:
     I've been testing NoDelayGrf on augst 2013 and doesn't work,
     i've tested this using WPE
     i've got the numbers from comparing with and without *cheat
     
     
    DOWNLOAD
    src:
    Herc - NDG Protection.diff
    import/
    battle_conf.txt
     
  6. Upvote
    Alexandria reacted to Patskie in @rickroll   
    Change :  OnAtcommand:        atcommand "@me " +.Messages$[rand(getarraysize(.Messages$))];        end;  to :
    OnAtcommand: if ( gettimetick(2) < #timer ) end;        atcommand "@me " +.Messages$[rand(getarraysize(.Messages$))]; #timer = gettimetick(2) + 10;        end;
  7. Upvote
    Alexandria reacted to Aeomin in Thor Patcher   
    Hey guys, here is what I have in mind with next major update. I know I have made few incompatible changes in the past, but I hope every change serves its purpose.
     
    So let me introduce another incompatible change: the new old configuration file.
    It is new as not compatible with old one, it is old as already widely used: JSON.
     
    Why? Because I find it to be more flexible than my current proprietary solution, no to mention it.. sucks, filled with bugs that I never bothered to look at, poorly defined value type. It worked though...
    Anyways, here is the draft for you all get familiarize and for me to get feedback (probably not).
    Note: For those who are wonder where is cancel button go, I would like let it go literally. I mean close is cancel right?.. right??
     
    without further ado:
     
    { "General": { "Title": "Thor Patcher", "RootURL": "http://127.0.0.1:808/", "RemoteConfigFile": "main.ini", "TimeOut": 0, "StatusFile": "server.dat", "DefaultGRF": "server.grf", "ClientEXE": "server.exe", "ClientParameter": "-1sak1", "FinishOnConnectionFailure": false, "HideProgressBarWhenFinish": true, "BGM": { "File": "", "Loop": "", "Volume": 20, "Directory": "" } }, "GUI": { "MainWindow": { "Style": "none", "Width": "", "Height": "", "HandleDrag": true, "Background": "images/bg.bmp", "FadeOnDrag": false, "Components": { "progressBar": { "Type": "ProgressBar", "Width": 342, "Height": 10, "Left": 23, "Top": 486 }, "statusLabel": { "Type": "Label", "AutoResize": false, "Width": 369, "Height": "", "Left": 15, "Top": 498, "Alignment": "center", "FontColor": 0, "FontName": "", "FontSize": "", "Text": "" }, "news": { "Type": "NoticeBox", "Width": 347, "Height": 250, "Left": 21, "Top": 217, "URL": "http://google.com" }, "startButton": { "Type": "Button", "Left": 383, "Top": 211, "Images": { "Default": "images/start1.png", "Hover": "images/start2.png", "HoldDown": "images/start3.png" } }, "exitButton": { "Type": "Button", "Left": 383, "Top": 244, "Images": { "Default": "images/Exit1.png", "Hover": "images/Exit2.png", "HoldDown": "images/Exit3.png" } } } } }}
  8. Upvote
    Alexandria reacted to Leecher in Brief forum downtime & openssl "heartbleed"   
    This is so much for the update going on. While rAthena is fixing bugs right straight up ahead 
  9. Upvote
    Alexandria got a reaction from Alphoccio in Basic Complete Renewal Data English Folder   
    This data folder is a fresh and clean data folder. It does not have items custom or other modifications (Only I added some kafra cutins).

    Based upon CalciumKid's folder, OnNplay's folder, Megasantos's folder, Michieru and dastgirpojee.
    [*]Basic kRO Fonts [*]Basic Translated Textures [*]Official Hairstyles (Only if your rdata.grf has been updated) [*]553 Clothes Dyes / 251 Hair Dyes Pack [*]Kafra anime style (you can remove them if you want textureÀ¯ÀúÀÎÅÍÆäÀ̽ºillust)

     
    Data Version 4.0
    ! NOTE: This version is for 2012 and 2013 clients.
     
    Download: [Dropbox] [Mega] [4shared] [Gamefront] [Rapidgator] [Uploaded] [Putlocker] [Turbobit]
    ChangeLog:
    Fixed: Palletes are working properly.
    Added: More sprites
    Added: More textures translated
    !Merge with Client Translation Project rev. #31
     
    MD5 Hash: 10cb8c6819acc00978417dbbedfa5638
     
    ==========================================================
     
    Data Version 3.0
    ! NOTE: This version is for 2012-04-10 or older.
     
    Download: [Dropbox] [Mega] [4shared] [Gamefront] [Rapidgator] [Uploaded] [Putlocker] [Turbobit]
    ChangeLog:
    Delete all those files for pre-renewal.
    Updated idnum2itemdisplaynametable.txt by Ziu
    Updated msgstringtable.txt by TrueNoir
    Added: Dewata Quest Translated Lua v1.1 by Dastgir Pojee
     
    MD5 Hash: e3806675a03529a154d644e565bd33aa
     
    ==========================================================
     
    Data Version 2.0
    ! NOTE: This is a PRE-RENEWAL version, only for 2010 or older.
     
    Download: [Dropbox] [Mega] [4share] [Gamefront] [Rapidgator] [Uploaded] [Putlocker] [Turbobit]
    ChangeLog:
    Added: More sprites (Latest)
    Added: Official Hairstyles
    Added: More NPC sprites

    MD5 Hash: 220ae49fc6dc50ef7b8df3c49e007939
     
    ==========================================================

    Data Version 1.0
     
    Download: [Dropbox] [Mega] [4share] [Gamefront] [Rapidgator] [Uploaded] [Putlocker] [Turbobit]
    ChangeLog:
    -Initial release-
     
    MD5 Hash: 72a16ec1e3854727cf853d13d6cdbf6f
     
    ==========================================================
     
    Let me know if you have any problems
  10. Upvote
    Alexandria got a reaction from kyeme in Celestial Thor Patcher Skin   
    File Name: Celestial Thor Patcher Skin
    File Submitter: Alexandria
    File Submitted: 17 Apr 2014
    File Category: Other Graphics
     
    Celestial Thor Skin Patcher.
     
    It was created using Photoshop CS6, html 5 and css3.
     
    The youtube box will play the video automatically (and also it hides automatically the menu player) so you can play the music that you would like to add. Such as, video news about your server, events, etc.
     
    Features:
    Start Button
    Website Button
    Vote4Points Button
    Set Up Button
    Cancel Button
    Social Networks Buttons (if you dont want to use those bottons, you can comment the lines in config.ini)
    Youtube Box
    News Box (scroll)

     
     
    It includes:
    PSD file is available if you want to add or edit it.
    Fonts.
    The config.ini file has the right code for this skin.
    Website files.

    Live demo:
    http://www.mediafire.com/download/fjonhds9csj6194/Celestial_Thor_Patcher.rar
     
    Like my work?
     

     
    Click here to download this file
  11. Upvote
    Alexandria got a reaction from Lilystar in [Showcase] another thor skin   
    Hello guys.
     
    I want you to rate this skin. Im planning on release it as soon as possible. Any feedback would be good.
     
    Thank ya.
    demo.rar
  12. Upvote
    Alexandria got a reaction from Kido in [Showcase] another thor skin   
    Hello guys.
     
    I want you to rate this skin. Im planning on release it as soon as possible. Any feedback would be good.
     
    Thank ya.
    demo.rar
  13. Upvote
    Alexandria got a reaction from Lilystar in [Showcase] Kido Wood   
    This is a skin for the Thor Patcher.
     
    It was created using Photosho CS 6.
     
    Its almost finished (just missing the bar status)
     
    It would include:
    > PSD file is available if you want to add or edit it.
    > The config.ini file has the right code for this skin.
     
    One limited version.
     
    screen shot 1 CS6
    screen shot 2
    Thor_Patcher2.6.1.66.rar
  14. Upvote
    Alexandria reacted to Angelmelody in NEMO - Client Patcher   
    @Neo
     
    I'd like to request  'disable 99 and 175 aura options' , since we had  auraset command
     
    Can you add it into NEMO?
  15. Upvote
    Alexandria reacted to KeyWorld in Packet Keys @WPE Free   
    Hi,
     
    After reading again and again this topic : Hercules WPE Free - June 14th Patch I saw that people don't really know how to figure out if the keys they are using are broken or not.
     
    So I wrote an online tool to help them (design stolen from jsperf.com).
     
    http://www.robrowser.com/prototype/packet-keys/
     
    This tool simulate 100'000 self encryption of the key to check if it's strong or not (I can set it higher, but it will stress your browser to have the same result).
      Bonus, a form to help you generate your own keys. Have fun~
  16. Upvote
    Alexandria reacted to Valiente in [Showcase] Kido Wood   
    That's awesome!
  17. Upvote
    Alexandria got a reaction from Kido in [Showcase] Kido Wood   
    This is a skin for the Thor Patcher.
     
    It was created using Photosho CS 6.
     
    Its almost finished (just missing the bar status)
     
    It would include:
    > PSD file is available if you want to add or edit it.
    > The config.ini file has the right code for this skin.
     
    One limited version.
     
    screen shot 1 CS6
    screen shot 2
    Thor_Patcher2.6.1.66.rar
  18. Upvote
    Alexandria reacted to Haru in Hercules WPE Free - June 14th Patch   
    what keys do I have to put in? 
    If you don't want to make them up, you can use the keys from any working client (you can find them in src/map/packets.h). Refer to the list posted by KeyWorld to know which ones can be safely used.
     
    Do I have to make up those keys?
     
    Possibly not. Generate your own keys only if (1) you know exactly how the algorithm works; (2) you are not Gravity; (3) you know how to generate strong keys.
    I do not have any recommendations, as I don't have an algorithm to generate strong keys. I'm only able to recognize some classes of weak keys, but some keys I consider strong, may have other weaknesses. Just use keys from other client versions, since both I and KeyWorld have tested them with over 10 million iterations.
     
    Do I have to use three different ones?
     
    This is not strictly necessary.
  19. Upvote
    Alexandria reacted to AnnieRuru in An item behaves like @autoloot   
    - script kdjshfksfj -1,{OnInit: bindatcmd "autoloot", strnpcinfo(0)+"::OnReqItem"; bindatcmd "alootid", strnpcinfo(0)+"::OnReqItem"; bindatcmd "autolootitem", strnpcinfo(0)+"::OnReqItem"; bindatcmd "autoloottype", strnpcinfo(0)+"::OnReqItem"; end;OnReqItem: .@itemid = Red_Potion; // require item if ( !countitem( .@itemid ) ) { message strcharinfo(0), "You must have "+ getitemname( .@itemid ) +" to use "+ .@atcmd_command$; end; } if ( .@atcmd_numparameters ) atcommand .@atcmd_command$ +" "+ implode( .@atcmd_parameters$, " " ); else atcommand .@atcmd_command$; end;}why not just use bindatcmd and overwrite those autoloot stuffsso you can rentitem with an expire tick, then while the player having the items, they can use autoloot
    http://herc.ws/wiki/Timers_%28Scripting%29#AttachNPCTimer1. attachnpctimer is a npc type timer that is attached to the npc
    2. addtimer is a player type timer that is attached to the player
    they are different
    3. sleep type timer ... my favorite
    4. static timer ... gettimetick(2)
  20. Upvote
    Alexandria reacted to KeyWorld in Hercules WPE Free - June 14th Patch   
    If guys search for a "not broken" client, check the list behind (each encryption tested 10 000 000 times), seems like Gravity doesn't even take time to find correct keys :
     
    20110817 - PASSED 20110824 - FAILED x32 20110831 - PASSED 20110906 - PASSED 20111005 - FAILED x29 20111012 - FAILED x32 20111021 - PASSED 20111025 - PASSED 20111102 - FAILED x31 20111109 - FAILED x16 20111122 - FAILED x16 20111207 - FAILED x31 20111214 - FAILED x32 20111220 - FAILED x16 20111228 - FAILED x7 20120104 - PASSED 20120111 - PASSED 20120120 - PASSED 20120202 - PASSED 20120207 - PASSED 20120214 - FAILED x31 20120229 - PASSED 20120307 - FAILED x31 20120314 - PASSED 20120321 - PASSED 20120328 - FAILED x32 20120404 - PASSED 20120410 - FAILED x32 20120418 - FAILED x15 20120424 - FAILED x11 20120509 - PASSED 20120515 - PASSED 20120525 - FAILED x16 20120605 - PASSED 20120612 - FAILED x14 20120618 - PASSED 20120702 - PASSED 20120716 - PASSED 20130320 - FAILED x32 20130514 - PASSED 20130522 - PASSED 20130529 - FAILED x30 20130605 - PASSED 20130612 - PASSED 20130618 - PASSED 20130626 - FAILED x11 20130703 - FAILED x32 20130807 - FAILED x4 20131218 - FAILED x31 20131223 - FAILED x14 20131230 - PASSED
  21. Upvote
    Alexandria got a reaction from Adam in [Showcase] Thor Gold Skin Patcher   
    This is a skin for the Thor Patcher.
     
    It was created using Photosho CS 6 and using html 5 plus css3.
     
    The youtube box will play the video automatically so you can play the music that you would like to add.  Such as, video news about your server, conquests, etc.  Also there is a box for facebook.
     
    It includes:
    > PSD file is available if you want to add or edit it.
    > The config.ini file has the right code for this skin.
     
    The size is 1100x500px.
     

    Thor_Patcher2.6.1.66.rar
  22. Upvote
    Alexandria got a reaction from Kido in [Showcase] Thor Gold Skin Patcher   
    This is a skin for the Thor Patcher.
     
    It was created using Photosho CS 6 and using html 5 plus css3.
     
    The youtube box will play the video automatically so you can play the music that you would like to add.  Such as, video news about your server, conquests, etc.  Also there is a box for facebook.
     
    It includes:
    > PSD file is available if you want to add or edit it.
    > The config.ini file has the right code for this skin.
     
    The size is 1100x500px.
     

    Thor_Patcher2.6.1.66.rar
  23. Upvote
    Alexandria got a reaction from Hadeszeus in (Guild) Antagonism System   
    My suggestion differs from  Lilith's incredible (but sadly abandonned) script; biggest difference being  Antagonism system is based on something natively implemented in RO (as a guild leader, right-click on someone from another guild and "set his guild as antagonist). The "Antagonists" interface  (CTRL+G) could finally be useful.
  24. Upvote
    Alexandria got a reaction from ScriptingPhailure in (Guild) Antagonism System   
    Hello you guys.
     
    How can I enable the antagonism system, so members of rival guilds (set by Guild leaders, maybe 3 foes maximum) can attack each other anytime, anywhere (except in towns). The main difference with Global PvP (PK server type) is that if someone is un-guilded or member of a guild not flagged as 'FoE' then this person cannot attack/be attacked.
     
    Thank you.
  25. Upvote
    Alexandria reacted to AnnieRuru in cp credit converter to items custom   
    prontera,156,187,6 script dfkjhsdfkjs 100,{ query_sql "select balance from cp_credits where `account_id` = "+ getcharid(3), .@points; if ( .@points >= 1 ) { if ( !checkweight( 7608, .@points ) ) { dispbottom "You can't carry enough "+ getitemname(7608); end; } query_sql "update cp_credits set balance = balance -"+ .@points +" where account_id = "+ getcharid(3); getitem 7608, .@points; } else dispbottom "You don't have anymore voting points"; end;}I always forgot the *checkweight command =/
×
×
  • Create New...

Important Information

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