leloush
-
Content Count
269 -
Joined
-
Last visited
-
Days Won
1
Reputation Activity
-
leloush got a reaction from WalkingBad in Talking News NPC
yes it possible..
you might want to check this example.. this is what im using , i dont know who made this and i forgot where i got this
i dont know how to remove the moving, well just wait for someone to make one for u..
this is just an example that ur request is possible
-
leloush reacted to Dastgir in Facebook Share
File Name: Facebook Share
File Submitter: Dastgir
File Submitted: 12 Mar 2014
File Category: Utility
Facebook Share System(Works Only with New Clients)
Configuration:
Edit NPC FacebookShare.txt
.link$ = "http://www.yourdomain.com/fbshare/"; //Trailing with "/" Edit the link with the link where you have PHP Scripts(Trailing with "/" or "/index.php")
WebSite:
Edit config.php
$host = "127.0.0.1"; //MySQL Host$user = "root"; //MySQL Username$pass = ""; //MySQL Password$database = "fb_share"; //Ragnarok Database$site = "http://yourdomain.com/fbshare/"; //Link to FBShare Page(Directory where these scripts are installed) $site should match with .link$(in the npc), Other Info are self explanatory.
It is a Simple Script Illustrating the usage of linking to website.
Click here to download this file
-
leloush reacted to Mhalicot in [AtCommand] autoatk
^ Okay,
try to replace This
addAtcommand("autoatk",autoatk) to
if( HPMi->addCommand != NULL ) {//link our '@autoatk' command HPMi->addCommand("autoatk",ACMD_A(autoatk)); } then recompile your autoattack.c
-
leloush reacted to Samuel in [Question]
the best way is to use the .c source file and compile the plugin so you could also check if the plugin was compiled correctly with no errors for your svn revision
-
leloush reacted to Dastgir in [Question]
precompiled plugin is usually in form of .dll or .so, you have to put that in plugins/ folder and edit only plugins.conf, and nothing else.but precompiled plugins may not work if hpm is updated, or you are using old version, but plugin is compiled with latest version, it may cause random crash(if it gets loaded).
-
leloush got a reaction from JulioCF in PvP Script
announce strcharinfo(0) +" has Entered Arena",bc_map|bc_yellow;
http://herc.ws/wiki/Announce
im out, sry i ddnt notice that im on portuguese.. and my browser has a automatic translation.. so i tought im on english section.
-
leloush got a reaction from Faltz in PvP Script
announce strcharinfo(0) +" has Entered Arena",bc_map|bc_yellow;
http://herc.ws/wiki/Announce
im out, sry i ddnt notice that im on portuguese.. and my browser has a automatic translation.. so i tought im on english section.
-
leloush got a reaction from Faltz in PvP Script
http://upaste.me/cc0d11047caaa6e0d
tente isso .. sry se a sua escrita em Inglês .. pq meu navegador tem uma tradução automática em toda a língua .. e aviso ddnt que im em seção português basta alterá-lo google translate -
leloush reacted to AnnieRuru in about statusicon (weapon enchant)
actually just change this line
https://github.com/HerculesWS/Hercules/blob/master/src/map/status.c#L391
set_sc( ITEM_ENCHANTARMS , SC_ENCHANTARMS , SI_PROPERTYFIRE , SCB_ATK_ELE );the SI_BLANK into SI_*** something elsethen it will show the icon
however, I don't know which icon will suit for this one ...
you can try find those SI_*** inside status.h
-
leloush reacted to evilpuncker in [Question]About mes.
the first one, the second one you may use:
sorry but no time to write a example right now :/
-
leloush got a reaction from ThyroDree in Overweight + Open a Box Contain 100 Ygg
Script
[cbox]function script checkweight {
setarray .@item[0],607; <- Ygg
setarray .@quantity[0],500; <- Quantity
setarray .@returnit[0],501; <- Change it to itemid Yggdrasil box
if( checkweight2( .@item,.@quantity ) ){
getitem .@items,500;
}else{
mes "You are overweight.";
getitem .@returnit, 1;
close2;
}
}[/cbox]
Item Script
[cbox]{ callfunc "checkweight"; },{},{}[/cbox]
try this
-
leloush reacted to AnnieRuru in [how to make this work]
- script kjdfkjsdfhks -1,{OnInit: monster "guild_vs2", 0,0, "--ja--", 1002, 100, strnpcinfo(0)+"::Onaaa"; .itemid = 501; end;Onaaa: monster "guild_vs2", 0,0, "--ja--", 1002, 1, strnpcinfo(0)+"::Onaaa"; if ( !getcharid(1) ) { getitem .itemid, 1; } else { .@killer = getcharid(3); getpartymember getcharid(1), 1; getpartymember getcharid(1), 2; for ( .@i = 0; .@i < $@partymembercount; .@i++ ) { if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) { attachrid $@partymemberaid[.@i]; if ( strcharinfo(3) == "guild_vs2" ) { .@count++; } } } if ( .@count < 4 ) .@itemget = 1; else if ( .@count < 8 ) .@itemget = 2; else if ( .@count < 12 ) .@itemget = 3; for ( .@i = 0; .@i < $@partymembercount; .@i++ ) { if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) { attachrid $@partymemberaid[.@i]; if ( .@killer == getcharid(3) ) { getitem .itemid, 10; } else if ( strcharinfo(3) == "guild_vs2" && checkidle() < 10 ) { // must not idle more than 10 seconds getitem .itemid, .@itemget; } } } } end;}..
the rest is impossible
.
.
currently there is only 1 player can attach to the scriptthere is no way to get 2 players trigger the kills
its either the one who landed last hit ... or the one dealt the most damage,
depends on mob_npc_event_type in confbattlemonster.conf
and very exploitable script =/
-
leloush reacted to AnnieRuru in [how to make this work]
- script kjdfkjsdfhks -1,{OnInit: monster "guild_vs2", 0,0, "--ja--", 1002, 100, strnpcinfo(0)+"::Onaaa"; .itemid = 501; end;Onaaa: monster "guild_vs2", 0,0, "--ja--", 1002, 1, strnpcinfo(0)+"::Onaaa"; if ( !getcharid(1) ) { getitem .itemid, 1; } else { getpartymember getcharid(1), 1; getpartymember getcharid(1), 2; for ( .@i = 0; .@i < $@partymembercount; .@i++ ) { if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) { attachrid $@partymemberaid[.@i]; if ( strcharinfo(3) == "guild_vs2" ) { .@count++; } } } if ( .@count < 4 ) .@itemget = 1; else if ( .@count < 8 ) .@itemget = 2; else if ( .@count < 12 ) .@itemget = 3; for ( .@i = 0; .@i < $@partymembercount; .@i++ ) { if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) { attachrid $@partymemberaid[.@i]; if ( strcharinfo(3) == "guild_vs2" ) { getitem .itemid, .@itemget; } } } } end;}wonder whats so special about this script
and, in case you don't know, an alchemist can summon homunculus and set it to aggressive
afk inside there as many as possible and get maximum income like this, kinda exploitable
-
leloush reacted to Mystery in Poring Summoner
File Name: Poring Summoner
File Submitter: Mysterious
File Submitted: 05 Mar 2014
File Category: Events & Games
Hey everyone,
I thought I should re-introduce my Poring Summoner event script from back in the eAthena days... however, I took down the script in eAthena for certain reasons but when rAthena came along... I decided to re-introduce it again... but then, again, I removed it D:
Anyways, I'm here once again to release it to Hercules and I think it'll stay now for the Public.
You can find it on eAthena (only if you're a moderator):
[*]http://www.eathena.ws/board/index.php?showtopic=236779
Or, see the commotion from rAthena when I took it down:
[*]http://rathena.org/board/topic/62248-mysterious-collection/?hl=+poring++summoner#entry100805
Anyways, here is some information regarding this lovely event!
Description:
[*]Basically the event is on an hour-based schedule, you can change the time you wish for the event to start in the script.
[*]The game basically is controlled by the server staff.
[*]Staff put a certain amount of Special* Porings and Normal Porings
[*]* Special Porings drop the prize set by the staff
[*]The map chosen is hard-coded in the script and can't be controlled VIA NPC In-game
Known Issues:
[*]There's an issue where there's no set number of special and normal porings when the script is loaded... thus, if you don't set the number of special porings and normal porings before the event starts, the script won't summon anything.
[*]Also, there's no set prize when the script is loaded.
[*]Don't forget to set these when you load the script!
Optimization:
[*]I know there are ways to optimize the script and fix the above issues, but the above issues isn't such a big concern so I didn't really bother to adjust it
Redistribution:
[*]If you wish to redistribute the file, please be polite and let me know where you plan on doing so ;3
[*]You may not redistribute this file for selling purposes.
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License
Click here to download this file
PS: If you used this event before and liked it, don't forget that +1 ;3!
-
leloush reacted to AnnieRuru in [Hello]This is a raid for party i made.
you mean you are still using the damn old emulator where has_instance2 is not supported ?try check your script_commands.txt and see your emulator support has_instance2 or not
https://github.com/HerculesWS/Hercules/blob/master/doc/script_commands.txt#L7971
maybe try change has_instance2( "guild_vs2" ) into instance_id(1)
otherwise, I can't support people using such old emulator
#define MAX_PARTY 12
inside mmo.h
@Hadeszeus
turn off the gvg mapflag
-
leloush reacted to AnnieRuru in WoW Domination Battleground (Olrox is not invited)
it should be below bg_warp .team and before sleep .eventlastingso around line 87~93
putting a countdown require to use setwall and delwall
I've made another similar stuff in this battleground topic
http://rathena.org/board/topic/90734-annieruru-custom-bg/
you can use it as reference
oh and, the setwall has to be done before bg_warp too
there is a bug if you bg_warp and then setwall, client will crash
http://rathena.org/board/topic/89525-help-on-bg-emperium/
.
.
post the map here and I'll finish it up -
leloush reacted to AnnieRuru in WoW Domination Battleground (Olrox is not invited)
I think its better to make a huge map 500x500 and squeeze everything in as much as possibleso there is just 9 rooms
for this battleground map however, just 250x250 or 300x300 is fine
which emulator you are using ?
I've made this script that only compatible with hercules
https://github.com/HerculesWS/Hercules/blob/master/db/const.txt#L3123
perhaps you can try change that line
setnpcdisplay "wow_domi_flag#"+ .@id, ( .@team == 1 )? 1_FLAG_LION : 1_FLAG_EAGLE;intosetnpcdisplay "wow_domi_flag#"+ .@id, ( .@team == 1 )? 973 : 974; -
leloush reacted to AnnieRuru in WoW Domination Battleground (Olrox is not invited)
ok, took me more than 5 hours to rewrite this script
wow_domi_0.5.txt
the only thing that I'm not done is the respawn system ...
someone need to clarify how it is exactly work
other than that, I think I've fixed every single bugs I can find from previous version
.
.
.
thanks for answering ... lolyeah I know how it feels
when you posted that topic 3 years ago, you wanted to make your 1st free release map as a thanks giving for the community
but now you have totally past that stage
perhaps you want to give this project to the next generation ?
.
.
.
its already on the eathena forumwww.eathena.ws/board/index.php?showtopic=272293
.
.
.
btw, call the friend of yours to make these few maps too
7 element woe -> http://rathena.org/board/topic/72989-capture-the-flag-woe-script/?p=149792
martial art tournament -> http://www.eathena.ws/board/index.php?showtopic=272624
-
leloush reacted to AnnieRuru in [Hi im using emistry's vending restriction]how to remove this
// x and y horizone ..setarray .x_line,52,49,46,43,40;setarray .y_line,68,71,74,77,65,62;..
.
try change this to 1 and try again
EDIT: or maybe I feel like rewrite this script myself ...
-
leloush reacted to AnnieRuru in Hi, can i request for a script something like this.
- script kjdhfksdjfhs -1,{OnClock0000:OnClock0400:OnClock0800:OnClock1200:OnClock1600:OnClock2000: enablenpc "qwerty"; sleep 1 *60 *60 *1000; // 1 hour mapwarp "guild_vs2", "prontera",156,191; disablenpc "qwerty"; end;OnInit: disablenpc "qwerty"; end;}prontera,156,195,5 warp qwerty 2,2,guild_vs2,49,49change guild_vs2 into gld2_prt -
leloush reacted to pan in [Custom Link Mods]
There was an error in this snippet, I don't even know how this passed lol
Here is the fix:
Open src/map/skill.c and find:
// If linked, knights are able to use parrying with one handed swords (type 2) if( require.weapon && !pc_check_weapontype(sd,require.weapon) && ( skill_id == LK_PARRYING && !sd->sc.data[SC_SOULLINK] && !pc_check_weapontype(sd,2) )) { clif->skill_fail(sd,skill_id,USESKILL_FAIL_THIS_WEAPON,0); return 0; }Replace it with: // If linked, knights are able to use parrying with one handed swords (type 2) if( require.weapon && !pc_check_weapontype(sd,require.weapon) && !( skill_id == LK_PARRYING && sd->sc.data[SC_SOULLINK] && pc_check_weapontype(sd,1<<2) )) { clif->skill_fail(sd,skill_id,USESKILL_FAIL_THIS_WEAPON,0); return 0; }Find (again): if( require.weapon && !pc_check_weapontype(sd,require.weapon) && ( skill_id == LK_PARRYING && !sd->sc.data[SC_SOULLINK] && !pc_check_weapontype(sd,2) )) { clif->skill_fail(sd,skill_id,USESKILL_FAIL_THIS_WEAPON,0); return 0; }Replace it with: if( require.weapon && !pc_check_weapontype(sd,require.weapon) && !( skill_id == LK_PARRYING && sd->sc.data[SC_SOULLINK] && pc_check_weapontype(sd,1<<2) )) { clif->skill_fail(sd,skill_id,USESKILL_FAIL_THIS_WEAPON,0); return 0; }Now it should work properly c: I'll update my original post (http://herc.ws/board/topic/3829-soul-link-modification/?p=24936) and change this.Thank you for reporting. Any errors or misbehaves just post here ok?
-
leloush reacted to Mumbles in how to use cutin[without player attached]?
Ah, you found another one of my mistakes lol. Change this:
cutin .@image$[.@i], 2;
to this:
cutin .@image$[.@x], 2;
...or just see my other post for the updated version.
-
leloush reacted to Mumbles in how to use cutin[without player attached]?
Here's an example:
prontera,150,150,0 script Sample 100,{ // Cutin file names (plays in reverse order) setarray .@image$[0], "kafra_05", "kafra_06", "kafra_07"; // Countdown time (in seconds) .@time = 3; // Map name to play cutins on .map_name$ = "prontera"; // Generate array with account IDs query_sql "SELECT DISTINCT(`account_id`) FROM `char` WHERE `online` = '1'", .@aid; // Loop through countdown sequence for (.@x = .@time; .@x > 0; .@x--) { // Loop through all online players in map for (.@i = 0; .@i < getarraysize(.@aid); .@i++) { if (attachrid(.@aid[.@i])) { if (strcharinfo(3) == .map_name$) { cutin .@image$[.@x], 2; } } } announce "Count down : " +.@x, 0; sleep 1000; } // Clear cutins for (.@y = 0; .@y < getarraysize(.@aid); .@y++) { if (attachrid(.@aid[.@y])) { if (strcharinfo(3) == .map_name$) { cutin "", 255; } } } end; } -
leloush reacted to Patskie in how to use cutin[without player attached]?
prontera,150,150,0 script Sample 100,{ query_sql "SELECT DISTINCT(`account_id`) FROM `char` WHERE `online` = '1'",.@aid; for ( .@i = 0; .@i < getarraysize(.@aid); .@i++ ) { if ( attachrid( .@aid[.@i] ) ) { if ( strcharinfo(3) == "prontera" ) cutin "kafra_07", 2; } } for ( .@x = 3; .@x > 0; .@x-- ) { announce "Count down : " +.@x,0; sleep 1000; } for ( .@y = 0; .@y < getarraysize(.@aid); .@y++ ) { if ( attachrid( .@aid[.@y] ) ) { if ( strcharinfo(3) == "prontera" ) cutin "", 255; } } end;} Like this?
-
leloush reacted to 安赫尔 in Advanced GRF Tool Suite
File Name: Advanced GRF Tool Suite
File Submitter: rosfus
File Submitted: 14 Jan 2014
File Category: Client Resources
Introduction
RO client GRF file although with high compression ratio compression feature, but not a perfect key protection mechanisms that currently most of the characteristics of SF headdress and articles are free to copy the data , resulting in almost every Ragnarok Private Server client configuration are the same . Therefore, in order to protect the fruits of hard work Ragnarok Private Server workers, Advanced GRF system came into being.
The version of the file system on the basis of GRF2.0 original structure, embedded advanced symmetric key encryption algorithm, the file is no longer open GRF GRF just unpacked using a program can unlock, but need only produce who did not know a key to open GRF file.
Advanced GRF Tool Suite package contains four programs:
[*] Advanced GRF Tool (Advanced GRF production tools , and support for the production and unpack files RGZ), [*]Advanced GRF automatic updater (kRO imitate official updater production, shouldering Advanced GRF file automatic update task ), [*]Advanced GRF offline updater , Advanced GRF automatically updated Configurator (can easily customize Advanced GRF updater for each parameter), [*]Advanced GRF client DLL (and with it, the client ordinary supports Advanced GRF files).
This program is release in 2007. Very popular in China. Supports all Ragnarok Online versions prior 2013.12.23. Sometimes antivirus software will prompt DLL has a virus, but I guarantee that it is safe.
Package directory structure
Advanced GRF Tool Suite
|
-- AGRF&RGZ Tool
|
-- AGRFTool.exe
-- zlib.dll
|
-- AGRF Patch Offline Updater
|
-- AGRFOfflineUpdater.exe
-- exit.bmp
-- skin.bmp
-- start.bmp
-- zlib.dll
|
-- AGRF Patch Updater
|
-- UpdRes
|
-- exit.bmp
-- site.bmp
-- skin.bmp
-- start.bmp
-- AGRFUpdater.exe
-- zlib.dll
|
-- AGRF Patch Updater Configure
|
-- AGRFUpdaterConfig.exe
|
-- AGRF Client DLL
|
-- cps.dll
-- zlib.dll
-- Web Sample
|
-- board.gif
-- patch_allow.txt
-- patch_execute.txt
-- patch2014.txt
-- rosfus2014.html
-- serverclose.html
-- style.css
InterFace
Button Description
[*] Create New GRF file [*]Open Open GRF file [*]Close Close GRF file [*]Extract The selected projects will be unpacked (containing the unpacked files and all solutions buns menu) [*]Add Add File (Contains directories and add submenus from GRF file) [*]Delete Delete selected items [*]Repack The current re-GRF file compression [*]Key GRF file key set [*]RGZ Open RGZ pack / unpack function [*]Exit Exit the program
Compression
[*] Level: set the compression ratio GRF file. Divided into four grades: default, fastest, best compression ratio, not compressed. This option can be set at any time.
Filter
[*] Keyword: filter out the project in line with the string input box.
Advanced GRF update Configurator
Relation
[*] Files setting: Reference document settings. [*]Updater: Select Advanced GRF automatic updates can be. [*]CPS DLL: Select Advanced GRF client cps.dll file. [*]Offline: select Advanced GRF Offline Updater. [*]Updater settings: Advanced GRF automatic update settings. [*]Open Setting: Open the configuration file. [*]Save Setting: Save the configuration file.
Profile type 3 radio buttons are used to select the currently opened or saved, depending on the configuration file name reference file.
The two buttons in case you want to use the complete set of reference documents.
Description
[*] Updater_Title Automatic Updater title . ( example : RoSF.us Online Upper) [*]Updater_Resource_Dir Automatic updater resource directory. (relative directory does not contain /example: UpdRes) [*]Updater_Skin_BMP Skin file is automatically updated. (stored in the resource directory of the file name, the same example: skin.bmp) [*]Updater_Start_BMP Button to start the game auto updater file . (example: start.bmp) [*]Updater_Site_BMP Button to access the site automatically updates the file . (example: site.bmp) [*]Updater_Exit_BMP Automatic updater file eject button. (example: exit.bmp) [*]--- [*]Http_Domain Web domain. (without http:// without domain final / example: www.sina.com.cn) [*]Http_Path Web absolute path. (path in front with / does not contain the domain name. cases: /ropatch) [*]Http_Notice Announcements page file name. (without the path example: ro_notice.html) [*]Http_Close Announcements page file name down for maintenance. (without the path example: ro_close.html) [*]Http_List List of update files. (without the path example: ro_list.txt) [*]Http_Allow Startup configuration file name. (without the path example: ro_allow.txt) [*]--- [*]FTP_Domain Patch file to download FTP domain. (without ftp://, without domain final / Example: ftp.rosf.us) [*]FTP_Path FTP path. (path in front with / does not contain the domain name. cases :/ropatch) [*]FTP_UID FTP login user name. (anonymous login can be left blank ) [*]FTP_PWD FTP login password. (anonymous login can be left blank ) [*]--- [*]Offline_Caption Offline Updater title. [*]Offline_Version Offline Updater version. [*]--- [*]PatchInfo Update schedule automatic updates to save the file. (without the path example: Ropatch.inf) [*]GrfFile GRF file needs to be updated. (without the path example: sdata.grf) [*]AGrfKey Key GRF file. (No encryption can be left blank. Values in this column after saving and reopening will become a string of numbers, if you want to re-edit the settings, do not forget to re- enter the correct key again.) [*]ExeFile Client launcher file name. (without the path example: Sakexe.exe) [*]ExeParam Client initiates startup parameters. (example : 1sak1) [*]--- [*]SiteUrl Updater "Access Sites" button site URL. (includes all URL example :. http://www.sina.com.cn/index.htm) [*]Button1URL Similar to the three buttons in the top right corner of the kRO the updater . Specify the corresponding web page URL. [*]Button2URL Same [*]Button3URL Same [*]--- [*]ConfigPassword Password to open the configuration file. If you set a password to open the configuration file will be asked to enter a password, otherwise it is impossible to open the configuration file. When no password can be left blank.
These are automatically updated, a common configuration file offline and update the client cps.dll.
Note: Definition Offline Updater some configuration items is somewhat different.
The following are three configuration files required for the project and project significance.
Automatic
Updater: Updater_Title, Updater_Resource_Dir,Updater_Skin_BMP, Updater_Start_BMP, Updater_Site_BMP, Updater_Exit_BMP,Http_Domain, Http_Path, Http_Notice, Http_Close, Http_List, Http_Allow,FTP_Domain, FTP_Path, FTP_UID, FTP_PWD, PatchInfo, GrfFile, AGrfKey, ExeFile,ExeParam, SiteUrl, Button1URL, Button2URL, Button3URL
Offline
Updater: Updater_Skin_BMP ( directory skin.bmp current ), Updater_Start_BMP ( the current directory start.bmp),Updater_Exit_BMP ( directory exit.bmp current ), Http_List ( Offline Updater updates the list of files in a list format with automatic Update List Updater), Offline_Caption, Offline_Version, PatchInfo, GrfFile, AGrfKey, ExeFile.
Offline
Updater directory format: The updater, configuration files , zlib.dll, 3个bmp files , gpf rgz update files , update the list of files can beplaced in the same directory.
Cps.dll: AGrfKey
Advanced GRF client DLL
Just copy the DLL client to the client directory, overwriting the original cps.dll file.
Automatically update the file,RGZ and GPF File Production
RGZ
Update files are typically asked that the x.exe x.lub or other files, not in the directory "data" .
GPF
All files contained in the directory "data"
AGRFTool
RGZ Production
Will need to send files to the client , the client's directory structure into an empty folder, for example: F:AutomaticUpdatesRGZ
Select AGRTool in RGZ button to [Open] the production program interface. Example by just doing a directory to select resources and output directories . Well -defined file name.
After the completion point of all [Zip] button.
GPF Production
Will need to send to the client data.grf files , according to data directory structure into an empty folder, for example: F:AutomaticUpdatesGPFdata, please remember gpf document root directory is defined data, rather than ro root.
On AGRTool click [Create] button to create an empty gpf file and define the file name and then click the [ADD] button to select the directory for storing files earlier . Below , please note that the program's title is Create a file name and path.
Special features encryption
If you need to encrypt data files, please click [Key] button in the program interface checked Security Mode, and enter the password .
Special features compression
There are four levels of compression can be selected, in general we have chosen is Default, but my personal preference is the Best Compression ie the best compression ratio.
Repack
After completing all the above steps, click [Repack] button to complete the update files produced.
Click here to download this file