Jump to content

Kido

Members
  • Posts

    1445
  • Joined

  • Last visited

  • Days Won

    10

Everything posted by Kido

  1. spend time with your family and friends :)!

  2. haha thanks, yeah i know how to recompile, on centos and microsoft visual c++ i don't know how to patch x_x i didn't know about them at all haha you the author? thanks for such cool script and well done ;D! a mapflag for the % it's amazing, that will solve all o:!!
  3. hello, i would like to request/know if there is a way to make the drops of a whole specific map increase for certain period of time i would like to use this to make basic mvp card for high rates like my server (turtle general, phreeoni, doppelganger and so on) be more easy to get i have a private mvp room where for certain amount of X coins you can summon almost any mvp, so adding a little increase drop rate to the private mvp room map would give it a plus, also this will help to basic mvp room maps too well maybe not for a period of time, just making the whole map drop of monster increase would help a lot thanks in advance (:
  4. i loved it, black colored would be great too o:!!!!
  5. all 3 of them are pretty cool o:! as a owner i would pick the emestry one because i think my players would love it o:! haha when i first saw the goddameit video and while hering the bgm i was like "that magician is done for" hahha fuuniest! i couldn't udnerstand at all the one that made euphy o: but i like how the poring s start to spawn and move saying merry xmas xD thank you 3 for participate in this, i think i will use them all haha :3
  6. haha thank your replying me, since i readed that you like to criticize other scripts i was hoping you to repply so i can improve xD may it will take me years to understand the whole scripting thing x_x but i find it funny and interesting to read o: i only know that kind of menu, also know the " "switch( select("Cat1:Cat2:Cat3:Cat4") ){" " and the common labels D:! huh how to fix that exploit ? because it's supposed not to happen DDDD:! thanks i will try to improve it and update the post, will credit you :3
  7. thank you sit/lady (duuno which gender you are D:) to it would be like this then? //Initialization of the Rewards //add_item(673,100,1,"Bronze Coin"); //<<<---- that for 1 cash point .@points=getPoints(getcharid(3)); #CASHPOINTS+=.@points; updatePoints(getcharid(3),.@points); sorry i'm so bad at scripting D:!
  8. You are welcome, i hope you find it useful
  9. 3946 merry xmas to all!
  10. Hello, just installed the vote for points (version 1.0) on my fluxcp (i was not sure if post this on website support or here on script support) and i want to make the vote points exchangeable for cash points, 1 vote = 1 cash point, i don't know at all how to it, thanks in advance for the help! my scirpt //==================================================================================== //Script Name: Vote For Points NPC Script for FluxCP //SVN: Tested in rAthena r156513 //Developed By: JayPee Mateo //Version: 1.0 //Requirement(s): FluxCP V4P Addon //Description: This is a npc script for FluxCP Vote for points in order for the players //to claim their vote points //==================================================================================== turbo_room,106,116,4 script Vote for Cash Points 906,{ //Function Prototypes function garbagecol;//Garbage collection for the Character variables garbagecol(); function add_item; //Syntanx: add_item(ITEMID,QUANTITY,POINTS,CATEGORY); function makeCategory;//This will return a list of the categories function getItemsByCat;//This will return the list of items associated to the particular category function getItemDetails;//This will return the details of the item function getPoints;//This will return the points of the player stored in the database function updatePoints;//This will updates the points of the player stored in the database //NPC Name set .npcname$,"[ Vots ]"; //Initialization of the Rewards add_item(673,100,1,"Bronze Coin"); //<<<---- that for 1 cash point //Script Start mes .npcname$; mes "Hola ¿te gustaria cambiar tus puntos de votacion?:"; switch(select("Si, quiero cambiar mis puntos de votacion:Quiero ver mis puntos")) { case 1: next; mes .npcname$; mes "Por favor selecciona una categoria:"; set .@selected,select(makeCategory())-1; next; mes .npcname$; mes "Selecciona el Objeto que deseas:"; set .@selected,select(getItemsByCat(@listCat$[.@selected]))-1; next; mes .npcname$; set .@ritemid,getItemDetails(@itemKeys[.@selected],"itemid"); set .@rquantity,getItemDetails(@itemKeys[.@selected],"quantity"); set .@rpoints,getItemDetails(@itemKeys[.@selected],"points"); mes "Item ID:"+.@ritemid; mes "Item Name: "+getitemname(.@ritemid); mes "Item Quantity: "+.@rquantity+" pc(s)."; mes "Required Points: "+.@rpoints+" pt(s)."; mes "\n"; mes "¿Quieres este objeto?"; if(select("Si por favor:No gracias")==1) { set .@points,getPoints(getcharid(3)); if(.@points>=.@rpoints) { next; mes .npcname$; updatePoints(getcharid(3),.@rpoints); getitem .@ritemid,.@rquantity; mes "Aqui tienes!. Gracias por votar. No olvides votar cada 12 horas :D"; } else mes "Disculpa, no tienes sufientes puntos para este objeto."; } else { next; mes .npcname$; mes "Bueno adios!"; } garbagecol(); close; case 2: next; mes .npcname$; set .@points,getPoints(getcharid(3)); mes "Actualmente tienes "+.@points+" punto(s)."; garbagecol(); close; } end; //Functions Bodies function updatePoints { set .@account_id,getarg(0); set .@usedPoints,getarg(1); query_sql("UPDATE `cp_v4p_voters` SET points=(points-"+.@usedPoints+") WHERE account_id='"+.@account_id+"'"); return; } function getPoints { set .@account_id,getarg(0); query_sql("SELECT `points` FROM `cp_v4p_voters` WHERE account_id="+.@account_id+" LIMIT 1",.@points); if(getarraysize(.@points)==0) return 0; return .@points[0]; } function getItemDetails { set .@key,getarg(0); //Key set .@detail$,getarg(1); //What details to return such as ItemID, Points, Quantity, Category if(strtolower(.@detail$) == strtolower("ItemID")) return @itemID[.@key]; else if(strtolower(.@detail$) == strtolower("Quantity")) return @itemQ[.@key]; else if(strtolower(.@detail$) == strtolower("Points")) return @points[.@key]; else if(strtolower(.@detail$) == strtolower("Category")) return @category$[.@key]; } function getItemsByCat { set .@selectedCat$,getarg(0); set .@make_string$,""; set .@x,0; for(set .@i,0; .@i<getarraysize(@category$); set .@i,.@i+1) { if(strtolower(.@selectedCat$) == strtolower(@category$[.@i])) { setarray @itemKeys[.@x],.@i; if(.@make_string$ == "") set .@make_string$,getitemname(@itemID[.@i]); else set .@make_string$,.@make_string$+":"+getitemname(@itemID[.@i]); set .@x,.@x+1; } } return .@make_string$; } function makeCategory { set .@make_string$,""; for(set .@i,0; .@i<getarraysize(@category$); set .@i,.@i+1) { if(.@make_string$ == "") { setarray @listCat$[getarraysize(@listCat$)],@category$[.@i]; set .@make_string$,@category$[.@i]; } else { if(compare(.@make_string$,@category$[.@i])==0) { setarray @listCat$[getarraysize(@listCat$)],@category$[.@i]; set .@make_string$,.@make_string$+":"+@category$[.@i]; } } } return .@make_string$; } function add_item { set .@itemID,getarg(0,-1); //IteID set .@itemQ,getarg(1,-1); //Item Quantity set .@points,getarg(2,-1); set .@cat$,getarg(3,"Uncategorized"); //Category if(.@itemID == -1) { debugmes "Invalid Item ID. Script not completely loaded."; end; } else if(.@itemQ == -1) { debugmes "Invalid Item Quantity. Script not completely loaded."; end; } else if(.@points == -1) { debugmes "Points assignment error. Script not completely loaded."; end; } set .@key,getarraysize(@itemID); setarray @itemID[.@key],.@itemID; setarray @itemQ[.@key],.@itemQ; setarray @points[.@key],.@points; setarray @category$[.@key],.@cat$; return 1; //return 1 as success } function garbagecol{ deletearray @itemID[0],128; deletearray @itemQ[0],128; deletearray @points[0],128; deletearray @category$[0],128; deletearray @listCat$[0],128; deletearray @itemKeys[0],128; return; } } thanks again in advance!
  11. Merry xmas to all!

  12. File Name: Coin to Coin Exchanger 1.1 File Author: Kido Date Released: 24/12/2013 (merry christmas!) Category: Utility Modified/Original Author: Not modified/Kido Description: Exchanges low value Coins for more valuable Coins, for example, Bronze Coins to Silver Coin. TODO: Add colors Allow viceversa (for example, Silver Coins to Bronze Coins) Suggestions (?) How to change amounts: Example, you want to make 1000 Bronze Coins = to 1 Silver Coin. Change the 100 of the maxium amount to 1000 if(countitem(673)<100)goto no_item; //that 100, change it to 1000 Change the 100 of the deleting coin delitem 673,1*@amount*100; //that 100, change it to 1000 It should look like this: case 1: mes "Input the amount of desired Silver Coins."; mes "Remember: 1000 Bronze Coin = 1 Silver Coin"; mes "I can exchange you a Maxium of: 100 of your desired coin."; next; if(countitem(673)<1000) { mes "You don't have enought Coin to get the desired amount of coins that you specified."; close; } else { input @amount,0,100; delitem 673,1*@amount*1000; getitem 675,1*@amount; close; } Remember to change Table of Values too mes "1000 Bronze = 1 Silver"; //lol the first 100 now is a 1000 mes "100 Silver = 1 Gold"; mes "100 Gold = 1 Mithril"; mes "100 Mithril = 1 Platinum"; mes "100 Platinum = 1 Proof of Donation"; Well, i hope this script helps to anyone one day. Any bug or question you may ask by just repplying to this topic, you can PM me too but i don't guarantee that i will answer fast, also if someone know how to fix/change something, that some can repply to this as an answer to you Merry xmas to all! Changelog: Coin to Coin Exchanger 1.1 Replaced Labels with Switch Coin to Coin Exchanger 1.0 First release Coin To Coin Exchanger 1.1 .txt
  13. no need to being like that... hello, that's a problem tha many owners have, i answered already a girls so, please, kindly read this http://rathena.org/board/topic/90526-cash-shop-window/ everything is there, take attention to the revision and solution report cya take care (:
  14. Firstly, thank you so much for the releases it's so nice and useful ! may i suggest, a button that will input a color on the selected text? this for announce and mes for example, we have the next mes mes "Here is your Gold Coin. Thank you and congratulations :)" Highlightning Gold Coin and then hiting the button it will open a window with many colors to select from, and when selected the script editor will just do the script color for the highlighted part o: it would end like this: mes "Here is your ^0000FFGold Coin^000000 Thank you and congratulations :)" and on te server would look like this: Here is your Gold Coin Thank you and congratulations thanks again !
  15. Well that's pretty easy to do, if you are asking this it may be because you don't know at all how to do bonuses and combos, so assuming that, allow me to do it for you and give you some steps/tips: Step 1: Recognize We have these scripts 20211,Black_White_Baphomet_Horns,Black White Baphomet Horns,5,0,0,0,,5,,0,0xFFFFFFFF,7,2,256,,0,1,1411,{ bonus bAllStats,12; bonus2 bAddRace,RC_DemiHuman,12; },{},{} 20119,Wings_Of_Balance,Wings Of Balance,5,0,0,0,,5,,0,0xFFFFFFFF,7,2,1,,0,0,1319,{bonus bAllStats,12; bonus2 bAddRace,RC_DemiHuman,10; },{},{} 20132,Byakugan,Byakugan,5,0,0,0,,5,,0,0xFFFFFFFF,7,2,512,,0,0,1332,{ bonus bAllStats,3; bonus2 bAddRace,RC_DemiHuman,7; },{},{} combo: bAddRace,RC_DemiHuman,7; bSubRace,RC_DemiHuman,7; Step 2: Simplify We have this effects 20211: STATS + 12, 12% Mote Damage Agains Demi-Human Monsters 20119: STATS + 12, 10% Mote Damage Agains Demi-Human Monsters 20132: STATS + 3, 7% Mote Damage Agains Demi-Human Monsters combo: 7% More Damage and Tolerance Agains Demi-Human Monsters Step 3: Determining the combo We want this effect when they are together 7% More Damage and Tolerance Agains Demi-Human Monsters and the script is bAddRace,RC_DemiHuman,7; bSubRace,RC_DemiHuman,7; Step 4: Logic of the combo Since we know that this will only work if all of them are equiped together, we just need to give the script to a single one, no matter which one you choose, the script will only work if they are equiped together Step 5: Doing the script Add the following to any equipment in the OnEquipScript (the first {} ) also note the Bold text so next time you will know what bonus to use If you are going to add the script to the item 20211 if(isequipped(20119,20132)) bAddRace,RC_DemiHuman,7; bSubRace,RC_DemiHuman,7; If you are going to add the script to the item 20119 if(isequipped(20211,20132)) bAddRace,RC_DemiHuman,7; bSubRace,RC_DemiHuman,7; If you are going to add the script to the item 20132 if(isequipped(20211,20119)) bAddRace,RC_DemiHuman,7; bSubRace,RC_DemiHuman,7; With practice, you will easly dominate this and you will be able to do it automatically At the end, you may use any of this lines and your combo will work: 20211,Black_White_Baphomet_Horns,Black White Baphomet Horns,5,0,0,0,,5,,0,0xFFFFFFFF,7,2,256,,0,1,1411,{ bonus bAllStats,12; bonus2 bAddRace,RC_DemiHuman,12; if(isequipped(20119,20132)) bAddRace,RC_DemiHuman,7; bSubRace,RC_DemiHuman,7; },{},{} 20119,Wings_Of_Balance,Wings Of Balance,5,0,0,0,,5,,0,0xFFFFFFFF,7,2,1,,0,0,1319,{bonus bAllStats,12; bonus2 bAddRace,RC_DemiHuman,10; if(isequipped(20211,20132)) bAddRace,RC_DemiHuman,7; bSubRace,RC_DemiHuman,7; },{},{} 20132,Byakugan,Byakugan,5,0,0,0,,5,,0,0xFFFFFFFF,7,2,512,,0,0,1332,{ bonus bAllStats,3; bonus2 bAddRace,RC_DemiHuman,7; if(isequipped(20211,20119)) bAddRace,RC_DemiHuman,7; bSubRace,RC_DemiHuman,7; },{},{} I hope this solves your question and will help you on the future (:
  16. huh around a 74% of the community participates on the support section, i anticipated this... the event is a good idea, if rAthena has many many scripters the event also delimitates, i mean, only if you can do script you can participate just saying, an event where anyone without specific skills required to participate would be good (: this was going to be the first event of the community o: also ty for the initiative
  17. yeah i tryied with that and got error "couldn't find the object also a 404 bla bla" D: but thanks for the repply i'm sure i made a mistake thanks this totally solve it! now i can create a custom page with the easier editor, thanks also for teaching me :3
  18. Hello, i was trying to make the main page of FluxCP to be a "&path=ETC" direction but couldn't find how. this is my default settings 'DefaultModule' => 'main', // This is the module to execute when none has been specified. 'DefaultAction' => 'index', // This is the default action for any module, probably should leave this alone. (Deprecated) then i changed and i tryid with this 'DefaultModule' => 'pages', // This is the module to execute when none has been specified. 'DefaultAction' => 'content&path=informations', // This is the default action for any module, probably should leave this alone. (Deprecated) even tryied like this 'DefaultModule' => 'pages', // This is the module to execute when none has been specified. 'DefaultAction' => 'content', // This is the default action for any module, probably should leave this alone. (Deprecated) but no one worked ): i want to change that becuase i don't have the editor or can't find the editor of text, the one with colors and stuff, when i click to my FluxCP it directs me by default to http://maypage.com/?module=news&action=view thank you in advance again (:
×
×
  • Create New...