Skip to content

Commit 1ecff9d

Browse files
committed
Uploading all the source code for 64bit
This is for newbie to starting create new ragnarok private server
1 parent f785b37 commit 1ecff9d

File tree

949 files changed

+639728
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

949 files changed

+639728
-0
lines changed

Changelog-Trunk.txt

+9,491
Large diffs are not rendered by default.

LICENSE

+674
Large diffs are not rendered by default.

athena-start

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
#!/bin/sh
2+
# athena starting script by rowla
3+
# modified by [email protected] (NL101541)
4+
5+
PATH=./:$PATH
6+
7+
L_SRV=login-server_sql
8+
C_SRV=char-server_sql
9+
M_SRV=map-server_sql
10+
11+
print_start() {
12+
# more << EOF
13+
echo "Athena Starting..."
14+
echo " (c) 2003 Athena Project"
15+
echo " modified by [email protected]"
16+
echo ""
17+
#echo "Debug informations will appear,"
18+
#echo "since this is a test release."
19+
#echo ""
20+
echo "checking..."
21+
#EOF
22+
}
23+
24+
check_files() {
25+
26+
for i in ${L_SRV} ${C_SRV} ${M_SRV}
27+
do
28+
if [ ! -f ./$i ]; then
29+
echo "$i does not exist, or can't run."
30+
echo "Stop. Check your compile."
31+
exit 1;
32+
fi
33+
done
34+
35+
# more << EOF
36+
echo "Check complete."
37+
echo "Looks good, a nice Athena!"
38+
#EOF
39+
}
40+
41+
42+
case $1 in
43+
'start')
44+
print_start
45+
check_files
46+
47+
exec ./${L_SRV}&
48+
exec ./${C_SRV}&
49+
exec ./${M_SRV}&
50+
51+
echo "Now Started Athena."
52+
;;
53+
'stop')
54+
ps ax | grep -E "${L_SRV}|${C_SRV}|${M_SRV}" | awk '{print $1}' | xargs kill
55+
;;
56+
'restart')
57+
$0 stop
58+
$0 start
59+
;;
60+
*)
61+
echo "Usage: athena-start { start | stop | restart }"
62+
;;
63+
esac

char-server.exe

472 KB
Binary file not shown.

char-server.sh

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#/bin/sh
2+
#Hi my naem is Kirt and I liek anime
3+
4+
ulimit -Sc unlimited
5+
6+
while [ 3 ] ; do
7+
if [ -f .stopserver3 ] ; then
8+
echo server marked down >> servlog.txt
9+
else
10+
echo restarting server at time at `date +"%m-%d-%H:%M-%S"`>> startlog.txt
11+
./char-server
12+
fi
13+
14+
sleep 5
15+
16+
done

char-server_sql.exe

527 KB
Binary file not shown.

charserv-sql.bat

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@ECHO OFF
2+
CALL serv.bat char-server_sql.exe Char-Server

charserv.bat

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@ECHO OFF
2+
CALL serv.bat char-server.exe Char-Server

0 commit comments

Comments
 (0)