mleo1
-
Content Count
314 -
Joined
-
Last visited
Reputation Activity
-
mleo1 reacted to Sanasol in Web Vending Database (Standalone and FluxCP Addon)
Flux fix named item
Flux fix refine array
https://github.com/S-anasol/sanasol/commit/ed5d5ef1ce0f6481be1da7dda082ece16a44766d
Added Yommy's src version for flux and sa scripts
Yommy Flux https://github.com/S-anasol/sanasol/tree/master/merchant_db_flux_yommy
Yommy Standalone https://github.com/S-anasol/sanasol/tree/master/merchant_db_yommy
-
mleo1 reacted to Sanasol in Web Vending Database (Standalone and FluxCP Addon)
Source inserting shop info into database.
Few source lines and a little bit of magic php + js
Decorated with new Twitter Bootstrap
Remake of this http://www.eathena.ws/board/index.php?showtopic=255406 /oops
Installation
Screenshots
Main page
Map position tooltip
For map showing need *.gat files
Approximate position, accurate display at map could not to achieve
And Search
Item images very old, you need to add the new items
FluxCP Screens
Demo
FluxCP Demo
Sources
My src versions: Hercules SRC Patch + web Standalone or FluxCP
Yommy src versions: Standalone or FluxCP
[NEW 04.20.14] Hercules src version: FluxCP
Sources is absolutely free, but if you want you can do donation
-
mleo1 got a reaction from ToiletMaster in Automated SQL backups in CentOS 6
Follow this. xD
http://rathena.org/board/topic/54049-auto-sql-backup-for-linux/
-
mleo1 reacted to KeyWorld in ROChargenPHP - Free PHP Character Viewer
ROChargenPHP
Features
Core [*]Support for .spr, .act, .pal, .grf, ... [*].act file completed support (transparency, scale, color, rotate, ...) [*]Characters fully implemented ( body, head, hats, weapon, shield, robe, mount) with palettes support. [*]Can modify action, animation and direction. [*]Class to generate : Full Character / Character Head only / Monster-NPC-Homunculus / Avatar / Signature. [*]Cache system available (and can be set off) with configurable time to cache. [*]Emblem Loader available.
Client
[*]Data.ini file support (to list your GRFs) [*]Support GRF (0x200 version only without DES encryption - repack before uploading) - the data folder is always read first. [*]Auto-Extract files from GRF if needed (optimize performance) [*]Updater script available to convert some lua files to PHP.
How to use
Really url-friendly:
myserver.com/chargen/<controller>/<data> // with url-rewritingmyserver.com/chargen/index.php/<controller>/<data> // without url-rewriting Example for my character called "KeyWorld":myserver.com/chargen/avatar/KeyWorld // avatarmyserver.com/chargen/signature/KeyWorld // signaturemyserver.com/chargen/character/KeyWorld // full Charactermyserver.com/chargen/characterhead/KeyWorld // Character's head
You can change the default link by modify the array $routes in the index.php file:// $routes['url'] = controller$routes['/avatar/(.*)'] = 'Avatar';$routes['/character/(.*)'] = 'Character';$routes['/characterhead/(.*)'] = 'CharacterHead';$routes['/monster/(d+)'] = 'Monster';$routes['/signature/(.*)'] = 'Signature';
Custom display
At least, the tool is really easy to use, here an example on how to display a static character:
$chargen = new CharacterRender(); $chargen->action = CharacterRender::ACTION_READYFIGHT; $chargen->direction = CharacterRender::DIRECTION_SOUTHEAST; $chargen->body_animation = 0; $chargen->doridori = 0; // Custom data: $chargen->sex = "M"; $chargen->class = 4002; $chargen->clothes_color = 0; $chargen->hair = 5; $chargen->hair_color = 12; // ... head_top, head_mid, head_bottom, robe, weapon, shield, ... // Generate Image $img = $chargen->render(); imagepng($img);
Examples / Demos
Sources
Get the source
(Thanks to report all bugs)
License
Instead of selling it, I give a try to "Open Source project with Donation".
So if you think, you would have buy it if i was selling it, think to give a donation ?
Notes [*]A directory "client" is in the project, it will be a good idea to move it to a directory not accessible by the user (for example /home/client/). [*]If you use generate images from GRFs you have to know it's a little slower, i recommend you in this case to allow the "AutoExtract" option to gain performance. [*]GRFs have to be save as 0x200 version without any encryption (even the official DES), good idea is to remove unused folders ( textures, wav, models).. [*]If you use the options Cache and AutoExtract, don't forget the script need to have a write access to the client and cache folder. [*]Thanks to Khazou for the acces to his server to fully testing the tool
-
-
mleo1 reacted to Vader in KPatcher -> OpenSource
Hi all, I am a long time thinking about it and finally made a decision.
Source code of patcher except for the library to work with the GRF will be available in SVN or GitHub.
I also continue to develop and support patcher.
Link to github: Patcher
-
mleo1 reacted to Emistry in A Surprise for Ind.....
/me throw this at Ind in his Birthday Party... /gg
-
mleo1 got a reaction from evilpuncker in Loki Launcher
Loki Launcher
What it does is: Basically, it shells out the ROExe with params + miniture cute ROish GUI.
Download
Latest
http://www.mediafire.com/download/jdhifdz5h5dubzg/Loki_Launcher_1.11.7z 2015-08-17
Old
http://www.mediafire.com/download/w0ba40bu6ibbia5/Loki+Launcher+1.1.7z 2015-08-15
http://www.mediafire.com/download/7p0dkwb9x5p11iy/Loki_Launcher_1.00.7z 2013-08-19
http://www.mediafire.com/download/u2zzrvuz9le15ac/loki-launcher_v0.007c.7z 2013-08-13
http://www.mediafire.com/download/vx0i50lqbl85aeq/loki-launcher_v0.007b.7z 2013-06-29
http://www.mediafire.com/download/h1is8l9452h3mjs/loki-launcher_v0.006.7z 2013-06-22
http://www.mediafire.com/download/ldnoo2gdp73dm66/loki-launcher_v0.005.7z 2013-06-20
http://www.mediafire.com/download/m6dtnnxtv9xks7h/loki-launcher_v0.004b.7z
http://www.mediafire.com/download/pfypvt91xrubk59/loki-launcher_v0.004.7z
http://www.mediafire.com/download/82b47t84t8bpw35/loki_launcher_v0.003.7z
http://www.mediafire.com/download/7fz3rkwmznrka1r/loki_launcher_v0.002.7z
http://www.mediafire.com/download/zlku5a1k3u8tr5y/loki_launcher_v0.001.7z
Features
Kawaii and more.
How to use (v1.11)
Use Loki Config to change the skin, etc.
Screenshot
The Shitty Sauce
https://github.com/mleo1/loki-launcher
-
mleo1 got a reaction from cJei in 2013 Ragexe and Diff (Up to date 2013-08-07)
I'm getting trolled by 2013 clients, just sharing
/showname type 2 = disables bold font, show guild
/mineffect disabled = shows skill effect jackfrost wave
/effect enabled = shows effects (including buff effects etc)
-
mleo1 reacted to cJei in 2013 Ragexe and Diff (Up to date 2013-08-07)
Try to type /showname in the game so it will show the guildname
-
mleo1 got a reaction from Igniz in Loki Launcher
Loki Launcher
What it does is: Basically, it shells out the ROExe with params + miniture cute ROish GUI.
Download
Latest
http://www.mediafire.com/download/jdhifdz5h5dubzg/Loki_Launcher_1.11.7z 2015-08-17
Old
http://www.mediafire.com/download/w0ba40bu6ibbia5/Loki+Launcher+1.1.7z 2015-08-15
http://www.mediafire.com/download/7p0dkwb9x5p11iy/Loki_Launcher_1.00.7z 2013-08-19
http://www.mediafire.com/download/u2zzrvuz9le15ac/loki-launcher_v0.007c.7z 2013-08-13
http://www.mediafire.com/download/vx0i50lqbl85aeq/loki-launcher_v0.007b.7z 2013-06-29
http://www.mediafire.com/download/h1is8l9452h3mjs/loki-launcher_v0.006.7z 2013-06-22
http://www.mediafire.com/download/ldnoo2gdp73dm66/loki-launcher_v0.005.7z 2013-06-20
http://www.mediafire.com/download/m6dtnnxtv9xks7h/loki-launcher_v0.004b.7z
http://www.mediafire.com/download/pfypvt91xrubk59/loki-launcher_v0.004.7z
http://www.mediafire.com/download/82b47t84t8bpw35/loki_launcher_v0.003.7z
http://www.mediafire.com/download/7fz3rkwmznrka1r/loki_launcher_v0.002.7z
http://www.mediafire.com/download/zlku5a1k3u8tr5y/loki_launcher_v0.001.7z
Features
Kawaii and more.
How to use (v1.11)
Use Loki Config to change the skin, etc.
Screenshot
The Shitty Sauce
https://github.com/mleo1/loki-launcher
-
mleo1 got a reaction from Neo-Mind in Loki Launcher
Loki Launcher
What it does is: Basically, it shells out the ROExe with params + miniture cute ROish GUI.
Download
Latest
http://www.mediafire.com/download/jdhifdz5h5dubzg/Loki_Launcher_1.11.7z 2015-08-17
Old
http://www.mediafire.com/download/w0ba40bu6ibbia5/Loki+Launcher+1.1.7z 2015-08-15
http://www.mediafire.com/download/7p0dkwb9x5p11iy/Loki_Launcher_1.00.7z 2013-08-19
http://www.mediafire.com/download/u2zzrvuz9le15ac/loki-launcher_v0.007c.7z 2013-08-13
http://www.mediafire.com/download/vx0i50lqbl85aeq/loki-launcher_v0.007b.7z 2013-06-29
http://www.mediafire.com/download/h1is8l9452h3mjs/loki-launcher_v0.006.7z 2013-06-22
http://www.mediafire.com/download/ldnoo2gdp73dm66/loki-launcher_v0.005.7z 2013-06-20
http://www.mediafire.com/download/m6dtnnxtv9xks7h/loki-launcher_v0.004b.7z
http://www.mediafire.com/download/pfypvt91xrubk59/loki-launcher_v0.004.7z
http://www.mediafire.com/download/82b47t84t8bpw35/loki_launcher_v0.003.7z
http://www.mediafire.com/download/7fz3rkwmznrka1r/loki_launcher_v0.002.7z
http://www.mediafire.com/download/zlku5a1k3u8tr5y/loki_launcher_v0.001.7z
Features
Kawaii and more.
How to use (v1.11)
Use Loki Config to change the skin, etc.
Screenshot
The Shitty Sauce
https://github.com/mleo1/loki-launcher
-
mleo1 reacted to Shakto in Client Translation Project
You can use this one
http://pastebin.com/JfhPUTSV
-
-
mleo1 got a reaction from ToiletMaster in Linux Commands for MySQL
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, ALTER, EXECUTE ON ROdatabase.* TO 'user'@'host';
-
mleo1 got a reaction from jaBote in Linux Commands for MySQL
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, ALTER, EXECUTE ON ROdatabase.* TO 'user'@'host';
-
mleo1 got a reaction from anacondaq in Linux Commands for MySQL
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, ALTER, EXECUTE ON ROdatabase.* TO 'user'@'host';
-
mleo1 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:
-
mleo1 reacted to Ind in Memory Slasher !!" - May 30 Patch
Hercules casts "Memory Slasher !!" - May 30 Patch
Memory Slasher !!
Regardless all the fancy features in it, this patch's greatest achievement is smart, clever employment of memory, by looking at our memory usage wisely we've been able to reduce map-server's memory (RAM) usage by more than 2/3, about 183MB of RAM were dropped, while maintaining Hercules outstanding record on performance improvement. Beyond the memory usage drop there is also a significant processing speed improvement which can be noticed during boot, map cache loading which used to account for most of the map-servers boot time no longer exists, its gone, dead, fini, boom! it was replaced by a smart map cache handler that loads its data only when a map is necessary (the data is then kept until shut down), this logic also makes map-server's shut down process a hell lot faster.
Instance Rework
As suggested by the community, this wasnt supposed to be bundled with this commit but the memory usage improvements required me to modify how instances were stored, so I re-wrote part of it to fit the suggestion as well.
Instance Functionality/Feature Server may now create instances of any maps regardless of client-side edits, e.g. one can clone prontera and call it "mymapname" (as is best described in the *instance_attachmap script command note) Instances may now be available in 4 distinct ways (as is best described in *instance_create script command note), by nobody (server type instance, to be used with special map names), by a sole character, by a party, or by a guild Script Command Changes *instance_create 2nd param is now called owner_id instead of party_id, and it got a 3rd optional param that defines what kind of owner id it is (when not provided, assumes party_id, for backwards compatibility), available options are (IOT_ stands for INSTANCE OWNER TYPE) IOT_NONE (0), IOT_CHAR (1), IOT_PARTY (2) and IOT_GUILD (3). *instance_destroy no longer autodetects instance id from party id *instance_attachmap now supports a 4th, optional, param, "<new map name>", it will allow you to specify a entirely new map name for the instance (without the need of client-side edits). This option can be best employed when used on a instance of <owner_type> IOT_NONE *instance_detachmap no longer autodetects instance id from party id *instance_id no longer supports any param *instance_set_timeout no longer autodetects instance id from party id *instance_announce no longer autodetects instance id from party id, and to tell it to autodetect from the attached script you must set instance_id param as -1 as opposed to 0 *instance_npcname no longer autodetects instance id from party id *has_instance no longer autodetects instance from party, however it now checks if attached player possesses a instance with same map as has_instance(<param>) checks for *instance_warpall no longer autodetects instance from party Other ChangesInstance IDs (valid ones) are now always >= 0 as opposed to > 0 (update your scripts!) Battlegrounds Queue
As suggested by the community, most of its features were added in this patch, we were unable to finish it though because we lacked some information, we've put our questions in this topic, once our questions are answered we should be able to finish it in a matter of minutes (all the heavy lifting was done in this patch).
Arenas They're easily configurable in the new conf/battlegrounds.conf file, it possible to add more arenas by editing the client's lua files/entryqueue/entryqueuelist.lua file Configuration Sample arenas: ({ name: "Tierra Gorge" //must match the name in client files event: "Tierra_BG2::OnPlayerListReady" minLevel: 80 maxLevel: 150 reward: {/* amount of badges awarded on each case */ win: 3 loss: 1 draw: 1 } minPlayers: 6 /* minimum amount of players to start */ maxPlayers: 60 /* maximum amount of players */ minTeamPlayers: 6 /* minimum amount of team members required for a team (party or guild) to join */ delay_var: "Tierra_BG_Tick" /* npc variable name that will store the delay for this match */ maxDuration: 30 /* maximum duration in minutes, if reached game ends and highest score wins (or calls a draw if scores are equal) */},{ name: "KVM (Level 59 and below)" //must match the name in client files event: "KvM03_BG::OnPlayerListReady" minLevel: 1 maxLevel: 59 reward: {/* amount of badges awarded on each case */ win: 1 loss: 0 draw: 0 } minPlayers: 4 /* minimum amount of players to start */ maxPlayers: 60 /* maximum amount of players */ minTeamPlayers: 5 /* minimum amount of team members required for a team (party or guild) to join */ delay_var: "KVM_BG_Tick" /* npc variable name that will store the delay for this match */ maxDuration: 30 /* maximum duration in minutes, if reached game ends and highest score wins (or calls a draw if scores are equal) */}) QueueWe wanted to make the queue as easy to play with as possible, so we've created a whole new set of script commands designed with this purpose. These commands make it easy to create and control queues for anything, games, events, quests, and of course in this case, the battleground's queue. Queue - Script Commands *queue()creates a new queue instance, returns created queue id set .@id,queue(); *queuesize(<queue_id>)returns the amount of entries in queue instance of <queue_id>. set .@length,queuesize(.@queue_id); *queueadd(<queue_id>,<var_id>)adds <var_id> to queue of <queue_id>, returns 1 if <var_id> is already present in the queue, 0 otherwise. queueadd(.@queue_id,.@var_id); *queueremove(<queue_id>,<var_id>)removes <var_id> from queue of <queue_id>, returns 1 if <var_id> is not present in the queue, 0 otherwise. queueremove(.@queue_id,.@var_id); *queueopt(<queue_id>,<optionType>,{Optional <option val>})modifies <queue_id>'s <optionType>, when <option val> is not present, <optionType> is removed from <queue_id>, when present it modifies <queue_id>'s <optionType> with the new <option val> value.
Currently 3 options are available, HQO_OnDeath (0), HQO_OnLogout (1), HQO_OnMapChange (2) (the constant names are not final). queueopt(.@queue_id,0,"MyNPC::MyOnQueueMemberDeathEventName");It allows you to hook npc events to be triggered by specific actions that may happen to a player in the queue (when the queue in question is used for account ids) *queuedel(<queue_id>)deletes <queue_id> returns 1 when <queue_id> is not found, 0 otherwise. queuedel(.@queue_id); *queueiterator(<queue_id>)creates a new queue iterator instance, a queue iterator is not a reference to a queue's actual members, it copies the queues members when initialized, this way you can loop through them even if you remove them from the queue set .@it,queueiterator(.@queue_id); *qicheck(<queue_iterator_id>)checks whether there is a next member in the iterator's queue, 1 when it does, 0 otherwise. qicheck(.@queue_iterator_id); *qiget(<queue_iterator_id>)obtains the next member in the iterator's queue, returns the next member's id or 0 when it doesnt exist. for( set .@elem,qiget(.@queue_iterator_id); qicheck(.@queue_iterator_id); set .@elem,qiget(.@queue_iterator_id) ) *qiclear(<queue_iterator_id>)deletes a queue iterator from memory, returns 1 when it fails, 0 otherwise. qiclear(.@queue_iterator_id) Sample Usage: /* say create a queue */set .@id,queue();queueadd(.@id,getcharid(3));/* ... add as many entries ... (no limit) */if( queuesize(.@id) == 999 ) { /* whatever */}/* anywhere in the code */set .@it,queueiterator(.@id);for( set .@elem,qiget(.@it); qicheck(.@it); set .@elem,qiget(.@it) ) { //do anything e.g. /* attachrid .@elem; */ /* mes "ID:"+.@elem; */}qiclear(.@it); Special Thanks To
Yommy for providing me with a hell lot of data for the BG Queue, wouldn't have been able to get it to this point without his help. Rosiel for his suggestion on the instance feature Xgear for his help with the network timeout bug mkbu95 for pinpointing the script parser bug All of Hercules Staff for their ideas/suggestions/criticism and support, and for keeping me sane during this memory slashing madness The Future~! This patch sure has taken me away from my usual bug-squashing mode, I'll be going back to my over-10-bug-fix-a-day schedule. We have quite a hell lot planned so this might not last long, make sure to keep an eye on your bug reports for I sure will be replying to them. Link~u! Commit 1 Commit 2 Commit 3 -
-
mleo1 reacted to Dastgir in Special Shop
File Name: Special Shop
File Submitter: Dastgir
File Submitted: 15 May 2013
File Category: Source Modifications
As Per This Topic: http://herc.ws/board/topic/3204-special-shop/#entry21298
Example of usage:
For using ItemID x for buying Items
<map name>,<x>,<y>,<facing> itemshop <npc name> <spriteid>,<item_id><itemid>:<amount>,.....
This shop will use item id mentioned in the NPC.
For Using Variable for buying items
<map name>,<x>,<y>,<facing> pointshop <npc name> <spriteid>,"<variable_name>":"<variable_description>",<itemid>:<amount>,.....
Variable_Name will be deducted from your variable,and it will show variable_description when click npc.
Please See ScreenShot for More information.
NOTE:
Please Do Not Share without Credit.Please Do not Share this as Paid Service.
Click here to download this file
-
mleo1 reacted to icabit in refine func
setarray .@position$[1], "Head","Body","Left hand","Right hand","Robe","Shoes","Accessory 1","Accessory 2","Head 2","Head 3"; set .@menu$,""; for( set .@i,1; .@i <= 10; set .@i,.@i+1 ) { if( getequipisequiped(.@i) ) set .@menu$, .@menu$ + .@position$[.@i] + "-" + "[" + getequipname(.@i) + "]"; set .@menu$, .@menu$ + ":"; } set .@part,select(.@menu$); if(!getequipisenableref(.@part)) { // checks the item if not refine-able mes "[" + getarg(0) + "]"; mes "I don't think I can"; mes "refine this item at all..."; close; }// write the lines you want to execute if the item is refine-able below this this line -
mleo1 reacted to Ind in Introducing Hercules' Stress Test Server
Introducing Hercules' Stress Test Server
Hello~!
The "Stress" Part
Over 1.000 IndAI units (equivalent to +1k online players) will be in the server playing 24/7, farming, going to pvp, doing woe, playing battlegrounds, doing anything a player does, this will create a perfect scenario for us to debug and test Hercules.
The Development Benefits
We'll be able to keep track of performance usage 24/7, making us able to detect whenever a update increases a server's usage, allowing us to further optimise said update in order to take the processing down. With the AI characters doing stuff non-stop 24/7 we'll be able to identify and fix any crashes existent. Hercules will gain a super stability boost thanks to this. How to connect / Moving in and out
This is the fun part.
No new clients, and no sclient/clientinfo/blablabla edits will be required. get to the test server by typing '@hercules warp', test whatever you like, and go back to your server with '@hercules leave'. This technology *might* also be employed in the future by us to create hercules-hosted inter-server events.
Entirely Secure
The only data your server will pass to our test server upon warp is the name of the character (and maybe hairstyle vals).
The test server is unable to modify (or even access) any data on your server, it is entirely secure and damage-free.
Unique to Hercules
The ability to connect through your ordinary client will be made possible by our custom server hosted over at herc.ws, the code won't be made public.
Coming
I felt inspired to write about this feature, which is why this announce is out before the feature itself.
This is one of the features to be powered by our Hercules Plugin Manager and will be made public once the HPM implementation reaches the level capable of sustaining it.
FAQ
what if i dont want my players to go to the test server?@hercules is a command like any other, you can restrict access by groups.conf (by default only gms will be able to use it) what if i dont have a test server to use as a gateway to the hercules stress test server?we will also provide clients for those who don't have/want to use a server as the gateway