Click Me For New Forum
This forum is now a read only archive. You can view the contents but you will not be able to make new posts and registration is closed to new members. Please visit our new forum at www.aranockonline.com/forum where our community is now based. Thank you for your patience!
Click Me For New Forum
This forum is now a read only archive. You can view the contents but you will not be able to make new posts and registration is closed to new members. Please visit our new forum at www.aranockonline.com/forum where our community is now based. Thank you for your patience!
Click Me For New Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.


....Our community has moved to a new home. Please follow the link above. This forum is read only for posperity....
 
HomePortalLatest imagesRegisterLog in

 

 Tried to recompile my v2 server but i get htsi unexpected error

Go down 
3 posters
AuthorMessage
Pooch

Pooch


Posts : 130
Join date : 2011-01-10
Age : 45

Tried to recompile my v2 server but i get htsi unexpected error Empty
PostSubject: Tried to recompile my v2 server but i get htsi unexpected error   Tried to recompile my v2 server but i get htsi unexpected error Icon_minitimeSat Oct 12, 2013 3:16 am

Code:
tito@tito-System-Product-Name:~/Downloads/merc2$ make
gcc -Wall -Wshadow -Winline -Wno-pointer-sign -O3 -g -march=pentium4 -fno-strict-aliasing -o .obj/server.o -c server.c
server.c: In function ‘tmplabcheck’:
server.c:629:10: warning: operation on ‘cn’ may be undefined [-Wsequence-point]
server.c: In function ‘main’:
server.c:650:6: warning: ignoring return value of ‘nice’, declared with attribute warn_unused_result [-Wunused-result]
server.c:752:22: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
gcc -Wall -Wshadow -Winline -Wno-pointer-sign -O3 -g -march=pentium4 -fno-strict-aliasing -o .obj/svr_disk.o -c svr_disk.c
svr_disk.c: In function ‘load’:
svr_disk.c:54:20: warning: variable ‘flag’ set but not used [-Wunused-but-set-variable]
svr_disk.c: In function ‘extend’:
svr_disk.c:43:30: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
gcc -Wall -Wshadow -Winline -Wno-pointer-sign -O3 -g -march=pentium4 -fno-strict-aliasing -o .obj/svr_tick.o -c svr_tick.c
svr_tick.c: In function ‘plr_perf_report’:
svr_tick.c:226:28: warning: variable ‘skip’ set but not used [-Wunused-but-set-variable]
svr_tick.c:226:22: warning: variable ‘_idle’ set but not used [-Wunused-but-set-variable]
svr_tick.c:226:13: warning: variable ‘ticksize’ set but not used [-Wunused-but-set-variable]
svr_tick.c: In function ‘plr_newlogin’:
svr_tick.c:1052:9: warning: format not a string literal and no format arguments [-Wformat-security]
svr_tick.c:1054:9: warning: format not a string literal and no format arguments [-Wformat-security]
svr_tick.c:1056:9: warning: format not a string literal and no format arguments [-Wformat-security]
svr_tick.c:1058:9: warning: format not a string literal and no format arguments [-Wformat-security]
svr_tick.c: In function ‘plr_login’:
svr_tick.c:1188:9: warning: format not a string literal and no format arguments [-Wformat-security]
svr_tick.c:1190:9: warning: format not a string literal and no format arguments [-Wformat-security]
svr_tick.c:1192:9: warning: format not a string literal and no format arguments [-Wformat-security]
svr_tick.c:1194:9: warning: format not a string literal and no format arguments [-Wformat-security]
svr_tick.c: In function ‘ch_base_status’:
svr_tick.c:1373:12: warning: inlining failed in call to ‘ch_base_status.part.6’: call is unlikely and code size would grow [-Winline]
svr_tick.c:1373:12: warning: called from here [-Winline]
svr_tick.c: In function ‘plr_change’:
svr_tick.c:1373:12: warning: inlining failed in call to ‘ch_base_status.part.6’: call is unlikely and code size would grow [-Winline]
svr_tick.c:1528:6: warning: called from here [-Winline]
gcc -Wall -Wshadow -Winline -Wno-pointer-sign -O3 -g -march=pentium4 -fno-strict-aliasing -o .obj/svr_act.o -c svr_act.c
svr_act.c: In function ‘plr_use’:
svr_act.c:464:20: warning: variable ‘y’ set but not used [-Wunused-but-set-variable]
svr_act.c:464:18: warning: variable ‘x’ set but not used [-Wunused-but-set-variable]
svr_act.c: In function ‘plr_drop’:
svr_act.c:490:26: warning: variable ‘money’ set but not used [-Wunused-but-set-variable]
gcc -Wall -Wshadow -Winline -Wno-pointer-sign -O3 -g -march=pentium4 -fno-strict-aliasing -o .obj/driver.o -c driver.c
gcc -Wall -Wshadow -Winline -Wno-pointer-sign -O3 -g -march=pentium4 -fno-strict-aliasing -o .obj/svr_god.o -c svr_god.c
svr_god.c: In function ‘god_write_banlist’:
svr_god.c:2489:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
svr_god.c:2490:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
svr_god.c: In function ‘god_read_banlist’:
svr_god.c:2474:6: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
svr_god.c:2475:6: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
svr_god.c: In function ‘god_mail_pass’:
svr_god.c:2056:15: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result]
svr_god.c: In function ‘god_save’:
svr_god.c:2032:14: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
svr_god.c:2033:14: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
svr_god.c:2034:14: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
svr_god.c:2035:14: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
svr_god.c:2036:14: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
gcc -Wall -Wshadow -Winline -Wno-pointer-sign -O3 -g -march=pentium4 -fno-strict-aliasing -o .obj/svr_do.o -c svr_do.c
svr_do.c: In function ‘do_command’:
svr_do.c:1474:75: warning: variable ‘f_poh’ set but not used [-Wunused-but-set-variable]
svr_do.c: In function ‘do_ransack_corpse’:
svr_do.c:1832:20: warning: variable ‘t’ set but not used [-Wunused-but-set-variable]
svr_do.c: In function ‘do_char_killed’:
svr_do.c:1866:22: warning: variable ‘temp’ set but not used [-Wunused-but-set-variable]
svr_do.c:1866:20: warning: variable ‘y’ set but not used [-Wunused-but-set-variable]
svr_do.c:1866:18: warning: variable ‘x’ set but not used [-Wunused-but-set-variable]
svr_do.c: In function ‘do_regenerate’:
svr_do.c:3001:51: warning: variable ‘end’ set but not used [-Wunused-but-set-variable]
svr_do.c: In function ‘do_npc_shout’:
svr_do.c:202:43: warning: ‘best[3]’ may be used uninitialized in this function [-Wuninitialized]
gcc -Wall -Wshadow -Winline -Wno-pointer-sign -O3 -g -march=pentium4 -fno-strict-aliasing -o .obj/svr_glob.o -c svr_glob.c
gcc -Wall -Wshadow -Winline -Wno-pointer-sign -O3 -g -march=pentium4 -fno-strict-aliasing -o .obj/build.o -c build.c
gcc -Wall -Wshadow -Winline -Wno-pointer-sign -O3 -g -march=pentium4 -fno-strict-aliasing -o .obj/use_driver.o -c use_driver.c
gcc -Wall -Wshadow -Winline -Wno-pointer-sign -O3 -g -march=pentium4 -fno-strict-aliasing -o .obj/look_driver.o -c look_driver.c
gcc -Wall -Wshadow -Winline -Wno-pointer-sign -O3 -g -march=pentium4 -fno-strict-aliasing -o .obj/svr_effect.o -c svr_effect.c
gcc -Wall -Wshadow -Winline -Wno-pointer-sign -O3 -g -march=pentium4 -fno-strict-aliasing -o .obj/driver_etc.o -c driver_etc.c
driver_etc.c: In function ‘char_dropto’:
driver_etc.c:90:6: warning: variable ‘m’ set but not used [-Wunused-but-set-variable]
gcc -Wall -Wshadow -Winline -Wno-pointer-sign -O3 -g -march=pentium4 -fno-strict-aliasing -o .obj/driver_generic.o -c driver_generic.c
gcc -Wall -Wshadow -Winline -Wno-pointer-sign -O3 -g -march=pentium4 -fno-strict-aliasing -o .obj/populate.o -c populate.c
populate.c: In function ‘pop_load_char’:
populate.c:1231:8: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
populate.c:1249:8: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
populate.c:1265:8: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
populate.c: In function ‘pop_save_char’:
populate.c:1164:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
populate.c:1170:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
populate.c:1178:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
populate.c:1186:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
populate.c: In function ‘pop_load’:
populate.c:1029:9: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
populate.c:1045:9: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
populate.c:1061:9: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
populate.c:1077:9: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
populate.c:1087:6: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
populate.c: In function ‘pop_remove’:
populate.c:939:10: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
populate.c:946:10: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
populate.c:953:10: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
populate.c:960:10: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
populate.c:966:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
populate.c:970:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
gcc -Wall -Wshadow -Winline -Wno-pointer-sign -O3 -g -march=pentium4 -fno-strict-aliasing -o .obj/helper.o -c helper.c
helper.c: In function ‘effectlist’:
helper.c:973:3: warning: format not a string literal and no format arguments [-Wformat-security]
gcc -Wall -Wshadow -Winline -Wno-pointer-sign -O3 -g -march=pentium4 -fno-strict-aliasing -o .obj/skill.o -c skill.c
gcc -Wall -Wshadow -Winline -Wno-pointer-sign -O3 -g -march=pentium4 -fno-strict-aliasing -o .obj/skill_driver.o -c skill_driver.c
gcc -Wall -Wshadow -Winline -Wno-pointer-sign -O3 -g -march=pentium4 -fno-strict-aliasing -o .obj/talk.o -c talk.c
talk.c: In function ‘answer_where’:
talk.c:632:9: warning: format not a string literal and no format arguments [-Wformat-security]
talk.c: In function ‘npc_hear’:
talk.c:783:17: warning: format not a string literal and no format arguments [-Wformat-security]
gcc -Wall -Wshadow -Winline -Wno-pointer-sign -O3 -g -march=pentium4 -fno-strict-aliasing -o .obj/area.o -c area.c
gcc -Wall -Wshadow -Winline -Wno-pointer-sign -O3 -g -march=pentium4 -fno-strict-aliasing -o .obj/path.o -c path.c
gcc -Wall -Wshadow -Winline -Wno-pointer-sign -O3 -g -march=pentium4 -fno-strict-aliasing -o .obj/stunrun.o -c stunrun.c
gcc -Wall -Wshadow -Winline -Wno-pointer-sign -O3 -g -march=pentium4 -fno-strict-aliasing -o .obj/cityattack.o -c cityattack.c
gcc -Wall -Wshadow -Winline -Wno-pointer-sign -O3 -g -march=pentium4 -fno-strict-aliasing -o .obj/npc_malte.o -c npc_malte.c
gcc -Wall -Wshadow -Winline -Wno-pointer-sign -O3 -g -march=pentium4 -fno-strict-aliasing -o .obj/lab9.o -c lab9.c
gcc -Wall -Wshadow -Winline -Wno-pointer-sign -O3 -g -march=pentium4 -fno-strict-aliasing -o .obj/rdtsc.o -c rdtsc.S
gcc -Wall -Wshadow -Winline -Wno-pointer-sign -O3 -g -march=pentium4 -fno-strict-aliasing -o .obj/ccp_driver.o -c ccp_driver.c
gcc -O -g -lm -lz -lcrypt -o server .obj/server.o .obj/svr_disk.o .obj/svr_tick.o .obj/svr_act.o .obj/driver.o .obj/svr_god.o .obj/svr_do.o .obj/svr_glob.o .obj/build.o .obj/use_driver.o .obj/look_driver.o .obj/svr_effect.o .obj/driver_etc.o .obj/driver_generic.o .obj/populate.o .obj/helper.o .obj/skill.o .obj/skill_driver.o .obj/talk.o .obj/area.o .obj/path.o .obj/stunrun.o .obj/cityattack.o .obj/npc_malte.o .obj/lab9.o .obj/rdtsc.o .obj/ccp_driver.o  
.obj/svr_tick.o: In function `plr_state':
/home/tito/Downloads/merc2/svr_tick.c:1309: undefined reference to `deflateEnd'
.obj/server.o: In function `new_player':
/home/tito/Downloads/merc2/server.c:166: undefined reference to `deflateInit_'
.obj/server.o: In function `csend':
/home/tito/Downloads/merc2/server.c:253: undefined reference to `deflateEnd'
.obj/server.o: In function `compress_ticks':
/home/tito/Downloads/merc2/server.c:363: undefined reference to `deflate'
.obj/server.o: In function `csend':
/home/tito/Downloads/merc2/server.c:253: undefined reference to `deflateEnd'
/home/tito/Downloads/merc2/server.c:253: undefined reference to `deflateEnd'
/home/tito/Downloads/merc2/server.c:253: undefined reference to `deflateEnd'
/home/tito/Downloads/merc2/server.c:253: undefined reference to `deflateEnd'
.obj/server.o: In function `send_player':
/home/tito/Downloads/merc2/server.c:224: undefined reference to `deflateEnd'
.obj/server.o:/home/tito/Downloads/merc2/server.c:299: more undefined references to `deflateEnd' follow
.obj/svr_do.o: In function `do_char_score':
/home/tito/Downloads/merc2/svr_do.c:1816: undefined reference to `sqrt'
/home/tito/Downloads/merc2/svr_do.c:1816: undefined reference to `sqrt'
/home/tito/Downloads/merc2/svr_do.c:1816: undefined reference to `sqrt'
.obj/svr_do.o: In function `do_say':
/home/tito/Downloads/merc2/svr_do.c:1712: undefined reference to `crypt'
collect2: ld returned 1 exit status
make: *** [server] Error 1
First time i managed to compile i had loads of warnings too but it still started to run but now no.. last time i did it  i stood up all night and with my bro we finally managed to make it work but cant remember what we changed in it.. any1 spot the prob?
Back to top Go down
Fazza

Fazza


Posts : 453
Join date : 2011-10-01
Age : 34
Location : Queensland, Australia

Tried to recompile my v2 server but i get htsi unexpected error Empty
PostSubject: Re: Tried to recompile my v2 server but i get htsi unexpected error   Tried to recompile my v2 server but i get htsi unexpected error Icon_minitimeSat Oct 12, 2013 5:30 am

Is there a reason why you recompiled?

If you managed to compile it fine the first time you should be able to load a command prompt, navigate to the servers source folder and type ./server console (<- this word, or any for that matter, allows you to view in realtime whats going in your server via the command prompt.)

The only thing I can think of is you made coding changes and then tried to recomplie. If thats the case then I would suggest keeping backups and try undoing the code changes and see if that works
Back to top Go down
Pooch

Pooch


Posts : 130
Join date : 2011-01-10
Age : 45

Tried to recompile my v2 server but i get htsi unexpected error Empty
PostSubject: Re: Tried to recompile my v2 server but i get htsi unexpected error   Tried to recompile my v2 server but i get htsi unexpected error Icon_minitimeSun Oct 13, 2013 12:05 pm

I did that and while server was down i got the time to do that Smile now its up and running!
Still have some issues.. how to:

-while in god mode to #create items? is there a list of those itemcodes?
-#goto command.. does any1 have a list of the known coordinates?
Back to top Go down
Fazza

Fazza


Posts : 453
Join date : 2011-10-01
Age : 34
Location : Queensland, Australia

Tried to recompile my v2 server but i get htsi unexpected error Empty
PostSubject: Re: Tried to recompile my v2 server but i get htsi unexpected error   Tried to recompile my v2 server but i get htsi unexpected error Icon_minitimeSun Oct 13, 2013 9:51 pm

Pooch wrote:
I did that and while server was down i got the time to do that :)now its up and running!
Still have some issues.. how to:

-while in god mode to #create items? is there a list of those itemcodes?
-#goto command.. does any1 have a list of the known coordinates?
To my knowledge, there is no list of Item ID's available anywhere on the net.

you could always try it out and write them down yourself and then publish it Very Happy

Also, for known coords, temple is 512 512. That is really the only one I know off by heart. if you fool around with goto n/e/s/w X number you can get a fix for it =].

Alot of stuff isnt known because people either didnt publish those things (because why would someone who isnt staff need to know the coords for all the seyan shrines Wink ) Or because there has only been a handful of servers since V2 went down.

Either way, Trial and error will get you what your after Wink

Im too lazy to write stuff out myself ahha
Back to top Go down
Guest
Guest




Tried to recompile my v2 server but i get htsi unexpected error Empty
PostSubject: Re: Tried to recompile my v2 server but i get htsi unexpected error   Tried to recompile my v2 server but i get htsi unexpected error Icon_minitimeFri Oct 25, 2013 6:54 pm

Is changing spell names and what is created example : undead companion done on the code side or cgi. I've got the cgi part down for the x y portal as well as /race name and what stats in game but I can't seem to figure out how to make a new skill that would be like it.
Back to top Go down
Forsight




Posts : 47
Join date : 2009-12-08

Tried to recompile my v2 server but i get htsi unexpected error Empty
PostSubject: Re: Tried to recompile my v2 server but i get htsi unexpected error   Tried to recompile my v2 server but i get htsi unexpected error Icon_minitimeSat Nov 23, 2013 6:52 am

Most commands are under /help so you dont need a huge listing.
you can type /recall to go to Elysium, /Temple for Temple of Skua, 10 10 takes to you EDGE@!! Razz (Great place to steal from depots of gods whom are in build mode).

Staffers corner i believe is /goto Gardener (name of the bird in the forest there.

For ITEM numbers ive always used Seijiro's site, seems alot of people have forgotten about his aweome old site...
http://www.angelfire.com/mech/shikon/ring.html
Example of the rings there, you can see the TID number etcc so u can get rings/belt etcc from this.

For locations to Teleport you have the source (which is free from http://www.brockhaus.org/merc2.tgz)
Open Area.C in a Text Editor and you will see:

{481,407, 633,596, "Aston", 0},
{497,205, 537,233, "Lizard Temple", 1},
{480,234, 634,405, "Strange Forest", 1},

Areas unlisted will not show for obvious reasons, but it gets you around.
Back to top Go down
Sponsored content





Tried to recompile my v2 server but i get htsi unexpected error Empty
PostSubject: Re: Tried to recompile my v2 server but i get htsi unexpected error   Tried to recompile my v2 server but i get htsi unexpected error Icon_minitime

Back to top Go down
 
Tried to recompile my v2 server but i get htsi unexpected error
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Click Me For New Forum  :: Game Chat :: General chat-
Jump to: