- script DieDieDie -1,{
OnPCDieEvent:
.@party_id = getcharid(1);
if (getcharid(0) != getpartyleader(.@party_id,2)) {
end;
}
mapannounce strnpcinfo(4),"The party leader of "+getpartyname(.@party_id)+" has died in battle. ",0,"0x00ff99";
end;
}
https://github.com/rathena/rathena/blob/master/conf/battle/misc.conf
// Choose if server begin with night (yes) or day (no)
night_at_start: yes
// Define duration in msec of the day (default: 7200000 = 2 hours)
// Set to 0 to disable day cycle (but not @day GM command).
// Except 0, minimum is 60000 (1 minute)
day_duration: 7200000
// Define duration in msec of the night (default: 1800000 = 30 min)
// Set to 0 to disable night cycle (but not @night GM command).
// Except 0, minimum is 60000 (1 minute)
night_duration: 3600000
Hello guys,
I would like to share one of my simple and small program that i used to backup SQL Database. I am new in making programs as i am learning it in school together with php, so i hope you guys can pardon my noob code. It been created to help my dad and brother to backup their mysql database remotely. Now i would like you guys to try it and give suggestions on the programs.
The field in the programs need to be write manually as that is what my dad and brother requirements.
# The program have been updated to v1.1
Download : MySql Tools.rar
using .net 4.5
slightly change the way backup is save (using only .sql)
added restore function with create database option (create database function will only create to a non-exist database)
change how the connection been to the MySql server is made
The guides will be updated later.
Please try it and give suggestions for me to improve. You can contact me at [email protected]. If you guys like my work you can buy me a coffee so i can keep my money for my school
p/s : If you would like to take a look or use the source code, it been upload to github. Please comment about the source so i can improve the way i write the code. Thank you.
SimpleMySql Github
feature plans :
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
V1.0
I've installed 17297 svn
When configuring used ./configure --enable-packetver=20120410
In client use this exe http://supportmii.com/ro1/Clients/2012-04-10aRagexeRE.exe
When i'm trying to connect, i pass authorization. when i select my char server in a few time a see message "failed to connect"
[Status]: Request for connection of shambhu (ip: 93.94.*.*).
[Notice]: Authentication accepted (account: shambhu, id: 2000108, ip: 93.94.*.*)
[Status]: Connection of the account 'shambhu' accepted.
[Info]: Closed connection from '93.94.*.*'.
Last message i see immediately after auth. When disable iptables still don't work.
I see many same posts. May be, rAthena need know my server external ip ?
My server is in some lan, rA autodetect my lan ip and use it. Server have'nt interfaces with "real" wan ip. My provider forward all packets going to my external ip to my lan ip. I'm trying to connect from other lan using external ip. (i sucessfully connect to ssh and other services this way)
Solution is using external ip, although server haven't it in interfaces and other services work listening lan ip.
May close theme
Search 1288 in mob_db.txt
1288,EMPELIUM,Emperium,Emperium,90,[b]68430[/b],0,0,0,1,60,71,40,50,1,17,80,50,26,20,10,12,0,8,26,0x120,300,1288,288,384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0