Jump to content

iamkevin

Members
  • Posts

    101
  • Joined

  • Last visited

Everything posted by iamkevin

  1. thanks sir, i was able to removed the warning sign with your help but i got this warning: [Warning]: status_read_soullink_db: Expected a constant with SL_ prefix, got Header. [Info]: status_read_soullink_db: Done reading 15 custom soul links.
  2. @Secrets how to remove this warning in my server? tjanks
  3. digitalocean, but doesnt provide a foru,
  4. [Error]: buildin_callfunc: Function not found! [dispell]
  5. Anyone here has a prontera map with a shop area? thanks!
  6. Hi may i request a src modification or update in our rAthena.. that provides mac filter features so that we can limit multiple clients into our liking.? thanks
  7. Is this a problem with my compiler? thank you so much
  8. Help with this pls? im using the latest GCC7 and im using the latest Repo tthanksss
  9. * i am using the latest Git of rAthena. * How to Fix this? thanks! i added this to my skill.c //Special message when trying to use strip on FCP [Jobbie] if( sd && skill_id == ST_FULLSTRIP && tsc && tsc->data[SC_CP_WEAPON] && tsc->data[SC_CP_HELM] && tsc->data[SC_CP_ARMOR] && tsc->data[SC_CP_SHIELD]) { clif_gospel_info(sd, 0x28); break; } if ( sd && tsc && sd->sc.data[SC_SPIRIT] && sd->sc.data[SC_SPIRIT]->val2 == SL_ROGUE && rand()%100 < 50 && (( skill_id == RG_STRIPWEAPON && tsc->data[SC_CP_WEAPON] )|| (skill_id == RG_STRIPSHIELD && tsc->data[SC_CP_SHIELD] )|| (skill_id == RG_STRIPARMOR && tsc->data[SC_CP_ARMOR] )|| (skill_id == RG_STRIPHELM && tsc->data[SC_CP_HELM] )) ) { int item_id = 7139; // Glistening Coat int ii; ARR_FIND( 0, MAX_INVENTORY, ii, sd->status.inventory[ii].nameid == item_id ); if ( ii < MAX_INVENTORY ) { pc_delitem( sd, ii, 1, 0, 0, LOG_TYPE_CONSUME); switch ( skill_id ) { case RG_STRIPWEAPON: status_change_end( bl, SC_CP_WEAPON, INVALID_TIMER ); sc_start( NULL, bl, SC_STRIPWEAPON, 100, skill_lv, d ); break; case RG_STRIPSHIELD: status_change_end( bl, SC_CP_SHIELD, INVALID_TIMER ); sc_start( NULL, bl, SC_STRIPSHIELD, 100, skill_lv, d ); break; case RG_STRIPARMOR: status_change_end( bl, SC_CP_ARMOR, INVALID_TIMER ); sc_start( NULL, bl, SC_STRIPARMOR, 100, skill_lv, d ); break; case RG_STRIPHELM: status_change_end( bl, SC_CP_HELM, INVALID_TIMER ); sc_start( NULL, bl, SC_STRIPHELM, 100, skill_lv, d ); break; } clif_skill_nodamage( src, bl, skill_id, skill_lv, i ); break; } } Now i am having this error:
  10. It can also show costume garment, and armors too
  11. None, you have to do it manually, change it in iteminfo.lub or idnumdesctable.txt and item_db.txt
  12. Thanks, it seems that it doesnt suppory single single for cast delay. Yes it is.. anyway can i do this? gives 5% chance to gain HP while performing magic attack to enemy?
  13. How to make this bonus? reduces cast delay of sonic blow by 20% when worned
  14. Show your diff selection
  15. no need you can try my ./athena-start #!/bin/sh #source var/function . ./function.sh inst_launch_workaround PATH=./:$PATH LOG_DIR="./log" print_start() { # more << EOF echo "Athena Starting..." echo " (c) 2013 rAthena Project" echo "" echo "" echo "checking..." #EOF } get_status(){ PIDFILE=.$1.pid if [ -e ${PIDFILE} ]; then ISRUN=$(ps ax | grep $(cat ${PIDFILE}) | grep $1) PSRUN=$(echo "$ISRUN" | awk '{ print $1 }') fi #return ${PSRUN} #seem to cause issue for some os } #cheking if already started, launch and mark in log start_serv(){ get_status $1 if [ $2 ]; then #is logging on ? LOGFILE="$LOG_DIR/$1.launch.log" LOGRUN="$LOG_DIR/$1.log" FIFO="$1_fifo" echo "stat_serv, log is enabled" echo "My logfile=${LOGFILE}" if [ -z ${PSRUN} ]; then if [ -e ./${FIFO} ]; then rm "$FIFO"; fi mkfifo "$FIFO"; tee "$LOGRUN" < "$FIFO" & "./$1" > "$FIFO" 2>&1 & PID=$! #"./$1" > >(tee "$LOGRUN") 2>&1 & PID=$! #bash only echo "$PID" > .$1.pid echo "Server '$1' started at `date +"%m-%d-%H:%M-%S"`" | tee ${LOGFILE} else echo "Can't start '$1', cause is already running p${PSRUN}" | tee ${LOGFILE} fi else if [ -z ${PSRUN} ]; then ./$1& echo "$!" > .$1.pid echo "Server '$1' started at `date +"%m-%d-%H:%M-%S"`" else echo "Can't start '$1', cause is already running p${PSRUN}" fi fi } watch_serv(){ ulimit -Sc unlimited #now checking status and looping count=0; while true; do for i in ${C_SRV} ${M_SRV} do LOGFILE="$LOG_DIR/$i.launch.log" LOGRUN="$LOG_DIR/$i.log" FIFO=$i"_fifo" get_status $i #echo "Echo id of $i is ${PSRUN}" if [ -z ${PSRUN} ]; then count=$((count+1)) #echo "fifo=$FIFO" echo "server '$i' is down" echo "server '$i' is down" >> ${LOGFILE} echo "restarting server at time at `date +"%m-%d-%H:%M-%S"`" echo "restarting server at time at `date +"%m-%d-%H:%M-%S"`" >> ${LOGFILE} if [ -e $FIFO ]; then rm $FIFO; fi mkfifo "$FIFO"; tee "$LOGRUN" < "$FIFO" & "./$i" > "$FIFO" 2>&1 & PID=$! echo "$PID" > .$i.pid if [ $2 ] && [ $2 -lt $count ]; then break; fi fi done sleep $1 done } restart(){ $0 stop if [ $1 ]; then sleep $1; fi for i in ${C_SRV} ${M_SRV} do FIFO="$1_fifo" while true; do get_status ${i} if [ ${PSRUN} ]; then echo "'${i}' is still running p${PSRUN} waiting end"; sleep 2; else if [ -e ./${FIFO} ]; then rm "$FIFO"; fi break fi done done $0 start } case $1 in 'start') print_start check_files echo "Check complete." echo "Looks good, a nice Athena!" if [ "$2" = "--enlog" ]; then ENLOG=1 if [ ! -d "$LOG_DIR" ]; then mkdir -p $LOG_DIR; fi echo "Logging is enable in $LOG_DIR" else echo "Logging is disable" fi for i in ${C_SRV} ${M_SRV} do start_serv $i $ENLOG done echo "Now Started Athena." ;; 'watch') if [ ! -d "$LOG_DIR" ]; then mkdir -p $LOG_DIR; fi if [ -z $2 ]; then Restart_count=10; else Restart_count=$2; fi if [ -z $3 ]; then Restart_sleep=3; else Restart_sleep=$3; fi echo " Gonna watch rA for Restart_count = $Restart_count, Restart_sleep= $Restart_sleep" for i in ${C_SRV} ${M_SRV} do start_serv $i 1 done watch_serv $Restart_count $Restart_sleep echo "Now watching Athena." ;; 'stop') for i in ${C_SRV} ${M_SRV} do PIDFILE=.${i}.pid if [ -e ./${PIDFILE} ]; then kill $(cat ${PIDFILE}) rm ${PIDFILE} fi done ;; 'restart') restart ;; 'status') for i in ${C_SRV} ${M_SRV} do get_status ${i} if [ ${PSRUN} ]; then echo "'${i}' is running p${PSRUN}"; else echo "'${i}' seem down"; fi done ;; 'val_runonce') for i in ${C_SRV} ${M_SRV} do valgrind --leak-check=full --show-leak-kinds=all ./$i --run-once > "log/$i.runonce.leak" done ;; 'valchk') for i in ${C_SRV} ${M_SRV} do valgrind --leak-check=full --show-leak-kinds=all ./$i > "log/$i.runonce.leak" done ;; 'help') case $2 in 'start') echo "syntax: 'start {--enlog}'" echo "This option will starts the servs" echo "--enlog will tee all terminal output into a log/$servname.log file" ;; 'stop') echo "This option will shutdowns the servs'" ;; 'restart') echo "syntax: 'restart {<delay>}'" echo "This option will wait delay then will attempt to restart the servs" echo "NB, even if delay is over it will wait the pid is finished before atetmpting to restart servs" ;; 'status') echo "syntax: 'watch {<restart_intervall> <restart_count>}'" echo "This option let you know if the server are running or not" echo "NB this option is based on PID and supposed you have launch the serv by this script" echo " If it wasn't the case please use something like 'ps ax | grep server' to know their status" ;; 'watch') echo "syntax: 'watch {<restart_intervall> <restart_count>}'" echo "The watch option allow you to auto restart the server when this one was stopped" echo "<restart_intervall> delay in second before recheking if server are down (default 10) " echo "<restart_count> how many time should we restart servs (default 3), (-1=undefinitly)" ;; 'val_runonce') echo "syntax: 'val_runonce'" echo "This option will run valgrin with run-once to check the serv" ;; 'valchk') echo "syntax: 'valchk'" echo "This option will run valgrin with the serv" ;; *) echo "Please specify a command you'll like more info { start | stop | restart | status | watch }" read -p "Enter a valid command: " readEnterKey $0 "help" $readEnterKey ;; esac ;; *) echo "Usage: athena-start { start | stop | restart | status | watch | help | val_runonce | valchk }" read -p "Enter a valid option: " readEnterKey $0 $readEnterKey ;; esac it will only run map-server and char-server.. leaving your login-server to your main server
  16. Problem solved.. instead of adding data in: db/import/packet_db.txt changing the data directly in db/packet_db.txt fixed the problem..
  17. Server names will be in map_athena.conf and in clientinfo.xml
  18. My Credentials: Client Date: 2013-08-07 Checked every needed files to make this work: Server side: packet_db.txt, mmo.h, core.h, etc. Client Side: diffed my client using Nemo Patcher. - Used Custom Keys for 1st to 3rd Packet Key Encryption which was generated from "nkwz RO Toolkit" - clientinfo.xml Now the problem is: - I can successfully log-in into the game, I can chat, use commands, use items but when I try to walk on a second click i get disconnected and get this kind of warning in my cmd. - when i tried to uncommented this line in my clif.c //define DUMP_UNKNOWN_PACKET //define DUMP_INVALID_PACKET it shows me this: see attached The pictures below shows what happened. Thank you for your replies! I hope I can make this work ^^
  19. or you can just do make a swapfile? im using the same hosting and ram size,, but it can handle 50players
  20. hi just out of the topic... where can i download the kind of interface you got? like the fonts? its great ^^
  21. Maybe you can just manually compute it.. using this: src/map/status.c unsigned short status_base_matk_min(const struct status_data* status) { return status->int_ + (status->int_ / 7) * (status->int_ / 7); } unsigned short status_base_matk_max(const struct status_data* status) { return status->int_ + (status->int_ / 5) * (status->int_ / 5); }
  22. db/pre-re or re/skill_castnodex_db.txt
×
×
  • Create New...