THPO
-
Content Count
103 -
Joined
-
Last visited
Reputation Activity
-
THPO reacted to Mystery in Apoligies for lack of Activity
Hey everyone!
Some of you have left me many messages (here on the forum and on Discord) regarding my activity. Sadly, I've been quite busy working at Summer Camp (hence why I haven't been active much through the summer....). I try to check in whenever I have some time to myself, but it is quite difficult to do so with lack of internet and lack of connection.
Good news is... it's almost done and I'm about ready to get back to my normal routine. Please, if you have any more questions/concerns/ or just want to say hi, don't hesitate to talk to me via PM or Discord! I check Discord more often since I am on my phone more often.
Mystery out!
-
THPO got a reaction from KirieZ in 2014-10-22 Issues with latest version of Hercules
That is nice Thanks
It's Fixed
-
THPO reacted to KirieZ in 2014-10-22 Issues with latest version of Hercules
Should be fixed with last commit (a couple hours ago)
Edit: At least part of it, I didn't notice other problems
-
THPO reacted to Angelmelody in mob_item_ratio improvement
Is there a possilbe to add an additonal flag field which determine the value in next field is fixed drop
rate or ratio drop rate ?
Structure looks like this
ItemID,Flag, fixed/ratio drop rate{,MonsterID}
For example, If flag was set to 0 ,We can specify ratio drop rate of certain item to a mob or all mob
or if flag was set to 1 , We can specify fixed drop rate to mob....
909,0,100,1002 // Jellopies from Porings will drop with 1x ratio drop rate.
909,1,100,1002 // Jellopies from Porings will drop with 0.1 fixed drop rate. (100/1000=0.1)
-
THPO reacted to Angelmelody in @market clone
all those s_xxxx.. annoying warnings in my plugin projects were disabled by me , coz I hate those
-
THPO reacted to AnnieRuru in @market clone
Download: 1.9
plugin
Create a market clone, to leave a message for other players
while the player can go hunting/questing/events
@market "<Title>" "<Message>" <Color> create a market clone with a chat room titled -> "<Title>"
when players tries to join the chat room, it refuse the joining, but instead leave a message -> "<Message>"
with 1.4 update,
player can now choose their own favorite color for their AFK message
the <Color> field is optional
I was struggling to use array for the color list ...
but in the end, I guess the simplicity is the best
so you guys can guess how to add in your own list easily
@marketkill kill the market clone without logging off
when a GM do @killmonster @killmonster2, or *killmonster *kilmonsterall script command will not remove the clone
but @reloadscript, however, will remove it
feels like I just copy paste from the description
whatever ...
Credit : remember to rep Dastgir's topic because I mostly copy his codes
-
THPO got a reaction from Zirius in @storeitem
not working on latest git version:
missing declaration:
-
THPO reacted to GmOcean in Slot Machine
File Name: Slot Machine
File Submitter: GmOcean
File Submitted: 14 Sep 2014
File Category: Events & Games
This script will allow users to spend zeny &/or an item for a chance to win a prize from the slot machine. Currently there are 2 versions. First is a Single Slot Machine, where only 1 slot is rolled. Second is the Triple Slot machine, where 3 slots are rolled. For either version, SUCCESS must be the only thing displayed in order to win.
To add the cutins, just place them in: data/texture/À¯ÀúÀÎÅÍÆäÀ̽º/illust
/* =============================================================
/* NOTE - If using soundeffects you must add the ".wav" files
/* provided in the ".rar" file to your: data/wav folder located
/* in either your: ( Ragnarok folder ) OR ( .grf file )
/* =============================================================
I've included the PSD file, so you can edit it as you like.
Click here to download this file
-
THPO reacted to Mhalicot in Costume Item Plugins
Update
2.0 Converted Costume Items will now removed normal stats and Bonuses. [Mhalicot] 3.0 Item Combos will now Ignore Converted Costume Items. [Mhalicot] 3.1 Fixed HP/SP becomes 1/1 [Mhalicot] 3.2 Fixed Sinx Can't Equipt dagger/sword on both arms(L/R), Special Thanks to Haru for Help [Mhalicot] 3.3 Fixed Error when compiling.
-
THPO got a reaction from iCORE in [request] control panel setup
https://www.apachefriends.org/download.html
get xampp and after installing it., by default its location will be C:xampp look for C:xampphtdocs then paste your cp folder inside should look something like this:
C:xampphtdocscp
then to run your local Web type in your browser: http://localhost/cp
-
THPO got a reaction from AnnieRuru in Maintenance mode
Test it with Windows MSVC no problem., but when I tried with CentOS I get an error return while compiling:
Ok seems working now with centos I just added on include:
with little warnings and could be ignored.
Thanks again AnnieRuru.
-
THPO reacted to AnnieRuru in Maintenance mode
Download: 1.5
plugin
create table maintenance ( id int primary key auto_increment, account_id int, name varchar(23), reason varchar(99), minlv2connect tinyint, order_time datetime, start_time datetime, end_time datetime ) engine = innodb; .
remember to enable HPMHooking to enable this modification
plugins_list: [ /* Enable HPMHooking when plugins in use rely on Hooking */ "HPMHooking", .
.
Note:
sometimes the server countdown jumps 1 second ahead
this is normal because the timetick from time->add is unstable
so I use unix_time to synchronize the countdown to server time
.
.
so, if you found some script/source code having bugs and you need to shut down your server for a short while
then you come to the right place
.
@maintenance <Group ID can stay 1~99> <duration to kick in minute> <maintenance duration in minute> <reason> then a GM99 can commence the maintenance
Example : '@maintenance 40 5 10 need to fix announcer script'
every player with group ID 40 and below will be kick after 5 minutes
and the server will start counting down by an announcement,
during the maintenance of 10 minutes, group ID 40 and below will deny from login into the server
`maintenance` table will also generate a new line, with the `reason` field as 'need to fix announcer script'
which is useful to know when and how many times you did emergency server shutdown
though, the actual reason for using SQL is to persist the data after server shutdown
so the server will continue being in maintenance mode despite how many times you have shut down the server
until it times up ( `end_time` field ), or manually do `@maintenanceoff`
Note:
you can't generate a new line using 'INSERT INTO' Sql syntax when server is online
because I declare a bunch of variables to for them, for the purpose of saving memory consumption
you have to login the game and type `@maintenance` to initiate the maintenance mode, otherwise it wont work.
.
.
.
@maintenanceoff if you have already finished fixing the script/source code, and there's still a lot of time left
you can type '@maintenanceoff' to immediately turn off the maintenance mode so players can login before the schedule.
.
.
.
.
-- Script commands --
.
*maintenance <Group ID can stay 1~99>, <duration to kick in minute>, <maintenance duration in minute> { , <reason> }; .
.
actually I have no idea why I wanna make a script command ... maybe just for fun ?
.
- script jsdfksdj FAKE_NPC,{ OnMon0255: maintenance 40, 5, 60; end; } .
this will make an announcement on Monday, 2:55AM that the server will have a regular server maintenance starts from 3AM to 4AM
during that time, player with group ID 40 will be kicked and blocked from entering the server
the `reason` field in `maintenance` table will be defaulted to '*Regular server maintenance*'
.
maintenance 40, 5, 60, "系统保养";
this will overwrite the `reason` field in `maintenance` table to '系统保养' instead of regular maintenance
.
.
*maintenanceoff { <reason> }; uhh ... useless I think ...
.
.
*maintenancecheck( <type> ); use 'maintenance()' to check the server is currently in maintenance mode or not
return 0 if server is normal
return 1 if server is going to have maintenance
return 2 if server is having maintenance
all other types are meant to myself to debug this junk
-
THPO reacted to AnnieRuru in [request] @maintenance Command?
huh ? since when archive type table couldn't support auto_increment ?
I still using MySQL 5.1 ... maybe
change 'engine = archive' into 'engine = innodb'
and what's on the line 501,503,539,547 ?
maybe copy paste my code in {code} tag then comment on the line number
if (1) // line501
http://upaste.me/4aea36
create table maintenance (id int(11) primary key auto_increment,account_id int(11),name varchar(23),reason varchar(99),minlv2connect tinyint(4),order_time datetime,start_time datetime,end_time datetime) engine = innodb; finished the script command, now start converting ...
-
THPO got a reaction from Zirius in Question about Pull and Commit?
since you have done some changes you need to commit your changes first before you can pull from the source where you originally cloned your git.
commit = marking changes on your Git
pull = getting updates from the source where you clone your Git. (same like "svn update")
-
THPO reacted to pr3p in [SOLVED] RO-Services disappointing service and after sales support
@THPO we send you a message over skype, and please used support ticket for any question/concern regarding on your request and tech support will assist you, and we are sorry about what happen thanks and good pm
-
-
THPO reacted to Jedzkie in Hercules wo_controller.txt
LOL! as you can see, you disabled the script arug_cas01 in scripts_guild.conf. that's why the script not reads it.
-
THPO got a reaction from AnnieRuru in dispbottomcolor
Found some little thingy Ms. Annie RRGGBB is backwards, BBGGRR.
-
THPO reacted to Angelmelody in disable @autoloot @autolootid for mvp ?
mob.c
inside function mob_item_drop()
find
&& (drop_rate <= sd->state.autoloot || pc->isautolooting(sd, ditem->item_data.nameid))
change to
&& ((drop_rate <= sd->state.autoloot || pc->isautolooting(sd, ditem->item_data.nameid)) && !md->db->mexp)
-
THPO reacted to AnnieRuru in noitem plugin
not yet,
its been suggested but not yet implement
http://herc.ws/board/topic/4412-map-zone-dbconf-allows-to-restrict-an-item-type/
-
THPO got a reaction from nana in forgot how remove stat and skill ´points
there's a command for that @stpoint -99 @skpoint -99 (99 is value to be removed)
-
THPO reacted to evilpuncker in noitem mapflag
I want to suggest the addition of this mapflag since AnnieRuru didn't pushed any change to git as she said x/ so lets hope that devs still read this subforum, here it goes:
http://herc.ws/board/topic/4830-noitem-mapflag/
-
THPO reacted to jaBote in Official Item Group/Package/Chain
You can't make a pet egg other way than issuing the makepet script command, it's docummented here:
doc/script_commands.txt, line 7870:
This means that you should have your package yield an intermediate item that will make the pet once used. If got via getitem, packageitem or getrandgroupitem you'll get an empty egg.
Another approach you can do is using the groupranditem script command to get an item ID, then check if that one is a pet egg ID and make the according pet for the player.
-
THPO reacted to kisuka in 2013-06-05 need help to remove Monsters HP Pink Bar?
I could be wrong about this, currently don't have access to development environment so I'm just going on a whim here but...
in src/map/clif.c on line 17543, comment it out. This will cause the server to not send the Monster HP packet to the client.
Would look like this:
void clif_monster_hp_bar( struct mob_data* md, struct map_session_data *sd ) { struct packet_monster_hp p; p.PacketType = monsterhpType; p.GID = md->bl.id; p.HP = md->status.hp; p.MaxHP = md->status.max_hp; //clif->send(&p,sizeof(p),&sd->bl,SELF);}You could also make a HPM plugin that makes clif_monster_hp_bar empty.
If you want to be a bit cleaner with this, comment out any occurrences of clif->monster_hp_bar in mob.c that way it's not calling clif_monster_hp_bar to send the packet anymore.
Though again, I could be wrong about this, but feel free to give it a shot. If it doesn't work, it might need to do some form of client hexing to remove it.