Leaderboard
Popular Content
Showing content with the highest reputation on 10/10/12 in Posts
-
do you know how to duplicate npc ? duplicate the Poring Punch Event npc .... sry but I'm well known for not tolerate/support newbie question2 points
-
2 points
-
Hi all, In my opinion, the current FluxCP default theme is just .... bleh. So, I've decided to create a theme that will be included in the main branch of my " Xantara's FluxCP for rAthena" project. I'm not sure if I should replace the current default theme with this or just add it in as a custom theme. Anyways, please let me know what you like and dislike about this design~ Please don't just say "8/10" without explaining. Click image to see it in full dimensions. Note: I'm planning to make the navigation be able to dropdown but I forgot to show it in the design. Home Page: Things to Note - Server status will be extended to include WoE status and player online peak information - A "remember me" feature for logins - Rotating banner/screenshots (with FancyBox popups?) - Automatic RSS news (first shows full message, links to second and third previous) - Breadcrumb - Server logo in top left and middle footer Viewing Accounts Page: Things to Note - Account Management (link several in-game accounts to one CP account) - Avatar (linked to an in-game account for quicker recognition of which account you are currently using to view) - Generic class pictures (to be also used in ranking pages and such) - Better pagination system (includes "jump to page" selector and "display amount per page" dropdown) - Tables are skinned - More graphical approach to message displays for errors, success, etc Navigation Setup Page: SOON TO COME! Yes, it will be an admin page. Should be do-able without too much work... xD; Other Pages: There are quite a few more features that I have planned but I don't want to reveal too much just yet =p ~ Xantara1 point
-
Can someone Help be about port forwarding Please if you have time you can access my pc using team viewer please about to build my own server1 point
-
play a hat game - has ticket ( will consume the ticket ) --- pick a quest for random headgear 31000~31050 ----- if yes generate 3 set of requirement out of 100 of these ( out of preset 100 requirements, only 3 of them is needed to complete the quest ) i. collect 100 jellopies ii. collect 20 apples iii. collect 25 sticky web iv. collect ..... - if completed the player will get the headgear so ... if the player consume 1 ticket, the script generate 1 random quest pick from item ID range 31000~31050 <-- need to save 1 player variable and pick 3 requirements out of preset 100 <-- need to save another 3 player variables, or use some kind of algoritm to compress into 1 <-- hardest part I guess the player can give up this quest and let the script generate another by consuming another ticket item let me tell you this script is heavily relies on algorithm especially comparing player saved variable storing the item requirement to the preset script item requirements <-- need comparison on 2 dimensions since you stuck on this stagemeans you don't even has a slightest clue how to create an array and doing comparison with while-loop .... you have a long long way to go if you want to make this even look possible ... PS: pls level up your technique before approaching this level of script .... you are current level 20 trying to beat a level 80 boss anyways step 1. try to script how to store a player variable with 1 random number step 2 show me a script that you can store multiple player variables with 3 out of 100 generated numbers step 3 .... next time ... AFTER you impressed me enough1 point
-
http://dev.mysql.com/doc/refman/4.1/en/date-and-time-functions.html#function_from-unixtime1 point
-
Im going to start tearing apart the itemInfo.lua for conversion to your Lub files. Should be pretty quick work now that ive got most of the accessories needed installed. Korean is not my native language so Im sure I'll pester people for more precise translations but everything seems to resolve nicely in anycase. One that seems to confuse me, when refering to a card is 걸칠것 I have not seen a relivant translation, spanning or streaching just dosnt seem to fit ^.^ Guessing it refers to Garment, could use some verification however. Anyway, with work this afternoon I only managed to get a few new cards updated, Golden Scaraba and the ones immediatly around it. --Edit Items 4505-4545 completed, mostly. There are a few translations I'll have to research first. Contained in the zip file is the .lub and .lua itemInfo.zip1 point
-
on one of the post on eathena replace if ( getitemslot( EQI_HEAD_TOP ) == 1 ) { < statement > } into getinventorylist; for ( set .@i, 0; .@i < @inventorylist_count; set .@i, .@i +1 ) { if ( @inventorylist_equip[.@i] == 256 ) { < statement > } } EdIted ======================== EDITED 2: OK screwed it up getinventorylist doesn't check the amount of slots that item has it can only check AFTER the player has inserted the card though so ... nope, still need a serious *getitemslot2 .... work around adding @inventorylist_slots in *getinventorylist script command sound possible but isn't practical at all as the command was needed in item database script1 point
-
Video : [media=] [/media]--- Introduction : This is script is used to let you exchange a new random hat by using two hats. --- Set : 1. Limit list must be on the exchange list . 2. This is limit list. 3. This is exchange list. 4. You can add more exchange list & use different <rand> to separate each ype. 5. There is no limit on how many type or hats in same type that you can add. 6. Only one limit is total rand value must be 1000 or it maybe fail by no type is chosen or discard type. 7. About how to choose the type and give you a hat. --- Download : Crafting.txt --- Special Thank To : Who give me a on Facebook. ---1 point
-
your do { < all > if ( getgmlevel() > x ) .... < higher gm level > } while ( getgmlevel() > x ) my usual method while (1) { < all > if ( getgmlevel() < x ) close; < higher gm level > } it seems you got yourself a sifu on your side .... curious ... I'm still guessing who is it ... ================================================== nope, OnInit: OnSun0001: do{ setarray .Monster[0],rand(1001,2380),100; }while( getmonsterinfo( .Monster[0],0 ) == "null" ); set .eventID, rand(2000000000); // <-- add this set .GMLevel,60; end; and change this if( #MOBID != .Monster[0] ){ set #MOBID,.Monster[0]; set #AMOUNT,0; } into this if ( #MOTW_ID != .eventID ) set #AMOUNT, 0; get rid of the #MOBID entirely, its not needed because the topic starter said if it somehow random back into same mob ID <-- today .Monster[0] is Isis and tomorow .Monster[0] is Isis again using if( #MOBID != .Monster[0] ) comparison will not work in this case if you think there's in 1/2000000000 chances that will get same event ID also can do it by increasing counter, set .eventID, .eventID +1; PS: I wonder is eventID++ works currently1 point
-
The MySQL databases are slighlty different so you will have to import/export your save data to the new tables manually. Im in the process of doing this right now. The conf files are very different. I'm using a program called Beyond Compare to compare my rAthena and eAthena conf files and adjust as needed. http://www.scootersoftware.com/1 point
-
1 point
-
Basicly, you download a rAthena revision, compile it with a couple of settings changed if wanted, then you change the conf's just like you would in eAthena, but there's no txt version afaik. Your eAthena files will be unmodified if you keep them in separate directories and nothing will happen to them. I'm not entirely sure if the mySQL DB's work on both the same way, someone else must answer that.1 point
-
Hmm pretty bad.. You should use a translated LUA/LUB, check the link on my signature line.1 point
-
Corruption, a magical word that always make a private server crumbled apart..1 point
-
1 point
-
zum bilder schneiden hilft auch das hier: http://rathena.org/tools/login_background/1 point
-
// ============================================================= // // = - [АвтоЭвент] 'Death Match' - = // // ------------------------------------------------------------- // // = - Скрипт написал Agasper (ICQ:6498906) - = // // ------------------------------------------------------------- // // = - Описание: PvP эвент. - = // // ------------------------------------------------------------- // // = - Если Вы хотите разместить где-либо этот скрипт,то не - = // // = - забывайте указывать копирайты,уважайте чужой труд. - = // // ============================================================= // - script event_start -1,{ OnMinute00: announce "Death Match Event starts in a few minutes!",0; sleep 5000; announce "Register at the NPC 'Death Match'. You have 2 minutes to sign up!",0; pvpoff "guild_vs2"; enablenpc "Death Match"; donpcevent "agasper_dm::OnDM"; end; } prontera,150,170,5 script Death Match 811,{ mes "[ Death Match ]"; mes "Hi, "+strcharinfo(0)+"!"; mes "Cost of registration: ^ff0000"+$reg_price+"^000000 Zeny!"; if(select("I agree:Exit")==2){ close; } if(BaseClass==Job_Novice){ next; mes "[ Death Match ]"; mes "Beginners can not participate in the event!"; close; } if(Zeny<$reg_price){ next; mes "[ Death Match ]"; mes "Where's the money?"; close; } set Zeny,Zeny-$reg_price; set $players,$players+1; warp "guild_vs2",50,50; close; OnInit: set $reg_price,500000; set $players,0; disablenpc "Death Match"; end; } - script agasper_dm -1,{ OnDM: sleep 120000; disablenpc "Death Match"; if(getmapusers("guild_vs2")<2){ announce "In the Event gathered less than 2-man! Event is canceled!",0; set $players,0; mapwarp "guild_vs2","prontera",150,170; end; } announce "Event 'Death Match' is start!",0; pvpon "guild_vs2"; initnpctimer; end; OnTimer5000: if(getmapusers("guild_vs2")==0){ announce "Event 'Death Match' end as the players in the event is not!",0; stopnpctimer; set $players,0; end; } if(getmapusers("guild_vs2")>1){ mapannounce "guild_vs2",getmapusers("guild_vs2")+" Player (s) are still in the event!",0; initnpctimer; end; } if(getmapusers("guild_vs2")<2){ goto OnWin; end; } end; OnPCKillEvent: OnWin: getmapxy .@emap$,.@ex,.@ey,0; if(.@emap$=="guild_vs2" && getmapusers("guild_vs2")<2){ stopnpctimer; announce "Player "+strcharinfo(0)+" won the event 'Death Match' and get "+$reg_price*$players+" Zeny!",0; set Zeny,Zeny+$reg_price*$players; message strcharinfo(0),"You get "+$reg_price*$players+" Zeny!"; warp "SavePoint",0,0; set $players,0; } end; OnPCDieEvent: getmapxy .@emap$,.@ex,.@ey,0; if(.@emap$=="guild_vs2"){ warp "SavePoint",0,0; atcommand "@alive"+strcharinfo(0); dispbottom "[Death Match]: You lose =("; } end; } guild_vs2 mapflag noteleport guild_vs2 mapflag nowarp guild_vs2 mapflag nowarpto guild_vs2 mapflag nobranch guild_vs2 mapflag noicewall guild_vs2 mapflag pvp_noguild guild_vs2 mapflag pvp_noparty guild_vs2 mapflag nomemo guild_vs2 mapflag nodrop Here's this?1 point
-
Guardian Hunter (warning: bad english) This is a small minigame I made where you can play forever until you die or relog. SQL TOP 10 List included. The goal is to stay alive as long as you can. Every round one guardian more will be spawned where it gets harder and harder. For each kill you get a amount of zeny. You can set the maps, monster ids and the amount of zeny. The script is dynamic + spawns the monster ids randomly but with the correct amount for each round. Have Fun with it Files guardian_hunter_1.0.0.txt guardian_hunter_1.0.1.txt guardian_hunter_1.1.1.txt guardian_hunter_1.1.2.txt Changelogs 1.0.0 Release 1.0.1 Fixed first monster spawn 1.1.1 Added '@currentroom$' into monsterspawn to prevent spawning mobs outside guardian rooms after fast relog 1.1.1 Added 'x Guardians left' notification after every kill 1.1.1 Changed '(0/1)' & '(1/1)' into '(Free)' & '(Full)' 1.1.2 Added autowarp after death Features Configurable maps, monster ids, zeny reward Everything is dynamic SQL TOP 10 List How can you help me ? Give me feedback Report bugs Tell me if you like it tr0n1 point
-
the rand(100) will generate a number within 0 ~ 99 ... when i compare the rand(100) result with 50... if the value generated is above 50...then he get nothing since i only compare if the value is lesser than 50 then only he will receive an items... Extra : Conditional there is not Rate Configuration inside the GetItem command.. it is getitem ItemID,Amount; This is just an example i give if you are going to set Different Rate for each items gaining... it can be done like this if( rand(300) < 100 ) getitem ID,Amount; // If Randomed below 100 else getitem ID,Amount; // above 249 Anyway... if you are going to give randomed items without a Fixed Rate... you can do it in this way.. Group the items using Array setarray .ItemList[0],501,502,503,504; To get item Randomly from the Array getitem .ItemList[ rand( getarraysize( .ItemList ) ) ],1;1 point