09 Oct, 2010, rinlek wrote in the 1st comment:
Votes: 0
i want to use a copy of swrip200 as the code for my mud, and i don't see a startup or nohup in the src file like in swfote or smaug. does anyone know how to start up this code? and what file do i change the port in?
09 Oct, 2010, Zeno wrote in the 2nd comment:
Votes: 0
Is the exec there?
09 Oct, 2010, Caius wrote in the 3rd comment:
Votes: 0
It should be in a directory called 'bin' rather than 'src' which is common in other bases. It should be called startup, and that's also where you change the port.
09 Oct, 2010, rinlek wrote in the 4th comment:
Votes: 0
do i still type "nohup startup <port> &" to start it up?
09 Oct, 2010, Dean wrote in the 5th comment:
Votes: 0
If that fails, I'd suggest trying ./startup [port number] &
09 Oct, 2010, Caius wrote in the 6th comment:
Votes: 0
Well, just try. It's not like the server will explode if you get it wrong. That said, I'm pretty sure you only need ./startup because both 'nohup' and '&' are used inside the script itself when running the executable.

Edit: You can either change the port in the script (near the top) to be able to start it with just ./startup. Otherwise you use ./startup <port>.
09 Oct, 2010, rinlek wrote in the 7th comment:
Votes: 0
ok, i tryed to start it up and i got this message
Quote
/bin/bash: ./startup: /bin/bash
: bad interpreter: No such file or directory
any ideas on what i'm doing wrong?
09 Oct, 2010, Runter wrote in the 8th comment:
Votes: 0
There is usually a startup script included with the codebases. This script simply runs the executable. The short answer is if you simply want to turn the server on just run the executable.
09 Oct, 2010, rinlek wrote in the 9th comment:
Votes: 0
Runter said:
There is usually a startup script included with the codebases. This script simply runs the executable. The short answer is if you simply want to turn the server on just run the executable.
how do i do that?
09 Oct, 2010, Runter wrote in the 10th comment:
Votes: 0
./nameOfTheFile
09 Oct, 2010, rinlek wrote in the 11th comment:
Votes: 0
Runter said:
./nameOfTheFile
did that, same message as before.
09 Oct, 2010, Tyche wrote in the 12th comment:
Votes: 0
rinlek said:
ok, i tryed to start it up and i got this message
Quote
/bin/bash: ./startup: /bin/bash
: bad interpreter: No such file or directory
any ideas on what i'm doing wrong?

http://sourcery.dyndns.org/wiki.cgi?Text...
10 Oct, 2010, Zeno wrote in the 13th comment:
Votes: 0
rinlek said:
Runter said:
./nameOfTheFile
did that, same message as before.

What did you type?
10 Oct, 2010, rinlek wrote in the 14th comment:
Votes: 0
i typed './startup' like people said, i also tried './startup <my port>' and 'nohup ./startup'

i had already compiled the code, and went to the bin folder in the code by doing "cd /home/mydirectory/swrip200/swrip200/bin"
10 Oct, 2010, David Haley wrote in the 15th comment:
Votes: 0
It was suggested that you try to run the executable directly instead of the startup script. How did you do that?
10 Oct, 2010, rinlek wrote in the 16th comment:
Votes: 0
on the advise of one of my friends, i deleted the code i was using and put a stock swrip200 in it's place to eliminate the minor changes i had made (incase they are the reason for the problems with startup), i changed the port and went into src and typed make all to compile and this is what i get
Quote
make swrip
make[1]: Entering directory `/home/rinlek/swrip200/src'
g++ -c -g3 -Wall act_comm.c
act_comm.c: In function 'char* lang_string(CHAR_DATA*, CHAR_DATA*)':
act_comm.c:69: warning: deprecated conversion from string constant to 'char*'
act_comm.c: In function 'void do_beep(CHAR_DATA*, char*)':
act_comm.c:198: warning: deprecated conversion from string constant to 'char*'
act_comm.c: In function 'char* translate(CHAR_DATA*, CHAR_DATA*, const char*)':
act_comm.c:263: warning: deprecated conversion from string constant to 'char*'
act_comm.c: In function 'char* drunk_speech(const char*, CHAR_DATA*)':
act_comm.c:288: warning: deprecated conversion from string constant to 'char*'
act_comm.c: In function 'void talk_channel(CHAR_DATA*, char*, int, const char*)':
act_comm.c:503: warning: deprecated conversion from string constant to 'char*'
act_comm.c:513: warning: deprecated conversion from string constant to 'char*'
act_comm.c:518: warning: deprecated conversion from string constant to 'char*'
act_comm.c:523: warning: deprecated conversion from string constant to 'char*'
act_comm.c:528: warning: deprecated conversion from string constant to 'char*'
act_comm.c:533: warning: deprecated conversion from string constant to 'char*'
act_comm.c:538: warning: deprecated conversion from string constant to 'char*'
act_comm.c:544: warning: deprecated conversion from string constant to 'char*'
act_comm.c:549: warning: deprecated conversion from string constant to 'char*'
act_comm.c:554: warning: deprecated conversion from string constant to 'char*'
act_comm.c:559: warning: deprecated conversion from string constant to 'char*'
act_comm.c:572: warning: deprecated conversion from string constant to 'char*'
act_comm.c:605: warning: deprecated conversion from string constant to 'char*'
act_comm.c: In function 'void do_say(CHAR_DATA*, char*)':
act_comm.c:1126: warning: deprecated conversion from string constant to 'char*'
act_comm.c: In function 'void do_tell(CHAR_DATA*, char*)':
act_comm.c:1330: warning: deprecated conversion from string constant to 'char*'
act_comm.c: In function 'void do_reply(CHAR_DATA*, char*)':
act_comm.c:1453: warning: deprecated conversion from string constant to 'char*'
act_comm.c: In function 'void do_retell(CHAR_DATA*, char*)':
act_comm.c:1552: warning: deprecated conversion from string constant to 'char*'
act_comm.c: In function 'void do_emote(CHAR_DATA*, char*)':
act_comm.c:1620: warning: deprecated conversion from string constant to 'char*'
act_comm.c: In function 'void do_bug(CHAR_DATA*, char*)':
act_comm.c:1628: warning: deprecated conversion from string constant to 'char*'
act_comm.c: In function 'void do_idea(CHAR_DATA*, char*)':
act_comm.c:1644: warning: deprecated conversion from string constant to 'char*'
act_comm.c: In function 'void do_typo(CHAR_DATA*, char*)':
act_comm.c:1653: warning: deprecated conversion from string constant to 'char*'
act_comm.c: In function 'void do_group(CHAR_DATA*, char*)':
act_comm.c:2256: warning: deprecated conversion from string constant to 'char*'
act_comm.c:2274: warning: deprecated conversion from string constant to 'char*'
act_comm.c:2285: warning: deprecated conversion from string constant to 'char*'
act_comm.c: In function 'void do_split(CHAR_DATA*, char*)':
act_comm.c:2461: warning: deprecated conversion from string constant to 'char*'
act_comm.c: In function 'void do_gtell(CHAR_DATA*, char*)':
act_comm.c:2508: warning: deprecated conversion from string constant to 'char*'
act_comm.c:2510: warning: deprecated conversion from string constant to 'char*'
act_comm.c: At global scope:
act_comm.c:2668: warning: deprecated conversion from string constant to 'char*'
act_comm.c:2668: warning: deprecated conversion from string constant to 'char*'
act_comm.c:2668: warning: deprecated conversion from string constant to 'char*'
act_comm.c:2668: warning: deprecated conversion from string constant to 'char*'
act_comm.c:2668: warning: deprecated conversion from string constant to 'char*'
act_comm.c:2668: warning: deprecated conversion from string constant to 'char*'
act_comm.c:2668: warning: deprecated conversion from string constant to 'char*'
act_comm.c:2668: warning: deprecated conversion from string constant to 'char*'
act_comm.c:2668: warning: deprecated conversion from string constant to 'char*'
act_comm.c:2668: warning: deprecated conversion from string constant to 'char*'
act_comm.c:2668: warning: deprecated conversion from string constant to 'char*'
act_comm.c:2668: warning: deprecated conversion from string constant to 'char*'
act_comm.c:2668: warning: deprecated conversion from string constant to 'char*'
act_comm.c:2668: warning: deprecated conversion from string constant to 'char*'
act_comm.c:2668: warning: deprecated conversion from string constant to 'char*'
act_comm.c:2668: warning: deprecated conversion from string constant to 'char*'
act_comm.c:2668: warning: deprecated conversion from string constant to 'char*'
act_comm.c:2668: warning: deprecated conversion from string constant to 'char*'
act_comm.c:2668: warning: deprecated conversion from string constant to 'char*'
act_comm.c:2668: warning: deprecated conversion from string constant to 'char*'
act_comm.c:2668: warning: deprecated conversion from string constant to 'char*'
act_comm.c:2668: warning: deprecated conversion from string constant to 'char*'
act_comm.c:2668: warning: deprecated conversion from string constant to 'char*'
act_comm.c:2668: warning: deprecated conversion from string constant to 'char*'
act_comm.c:2668: warning: deprecated conversion from string constant to 'char*'
act_comm.c:2668: warning: deprecated conversion from string constant to 'char*'
act_comm.c:2668: warning: deprecated conversion from string constant to 'char*'
act_comm.c:2668: warning: deprecated conversion from string constant to 'char*'
act_comm.c:2668: warning: deprecated conversion from string constant to 'char*'
act_comm.c:2668: warning: deprecated conversion from string constant to 'char*'
act_comm.c:2668: warning: deprecated conversion from string constant to 'char*'
act_comm.c:2668: warning: deprecated conversion from string constant to 'char*'
act_comm.c:2668: warning: deprecated conversion from string constant to 'char*'
act_comm.c: In function 'void do_speak(CHAR_DATA*, char*)':
act_comm.c:2765: warning: deprecated conversion from string constant to 'char*'
act_comm.c: In function 'void do_languages(CHAR_DATA*, char*)':
act_comm.c:2872: warning: deprecated conversion from string constant to 'char*'
act_comm.c: In function 'void do_ahelp(CHAR_DATA*, char*)':
act_comm.c:2910: warning: deprecated conversion from string constant to 'char*'
g++ -c -g3 -Wall act_info.c
act_info.c:58: warning: deprecated conversion from string constant to 'char*'
act_info.c:58: warning: deprecated conversion from string constant to 'char*'
act_info.c:58: warning: deprecated conversion from string constant to 'char*'
act_info.c:58: warning: deprecated conversion from string constant to 'char*'
act_info.c:58: warning: deprecated conversion from string constant to 'char*'
act_info.c:58: warning: deprecated conversion from string constant to 'char*'
act_info.c:58: warning: deprecated conversion from string constant to 'char*'
act_info.c:58: warning: deprecated conversion from string constant to 'char*'
act_info.c:58: warning: deprecated conversion from string constant to 'char*'
act_info.c:58: warning: deprecated conversion from string constant to 'char*'
act_info.c:58: warning: deprecated conversion from string constant to 'char*'
act_info.c:58: warning: deprecated conversion from string constant to 'char*'
act_info.c:58: warning: deprecated conversion from string constant to 'char*'
act_info.c:58: warning: deprecated conversion from string constant to 'char*'
act_info.c:58: warning: deprecated conversion from string constant to 'char*'
act_info.c:58: warning: deprecated conversion from string constant to 'char*'
act_info.c:58: warning: deprecated conversion from string constant to 'char*'
act_info.c:58: warning: deprecated conversion from string constant to 'char*'
act_info.c:58: warning: deprecated conversion from string constant to 'char*'
act_info.c:58: warning: deprecated conversion from string constant to 'char*'
act_info.c:58: warning: deprecated conversion from string constant to 'char*'
act_info.c:58: warning: deprecated conversion from string constant to 'char*'
act_info.c:58: warning: deprecated conversion from string constant to 'char*'
act_info.c:58: warning: deprecated conversion from string constant to 'char*'
act_info.c: In function 'char* get_sex(CHAR_DATA*)':
act_info.c:83: warning: deprecated conversion from string constant to 'char*'
act_info.c:85: warning: deprecated conversion from string constant to 'char*'
act_info.c:87: warning: deprecated conversion from string constant to 'char*'
act_info.c: In function 'char* halucinated_object(int, bool)':
act_info.c:173: warning: deprecated conversion from string constant to 'char*'
act_info.c:174: warning: deprecated conversion from string constant to 'char*'
act_info.c:175: warning: deprecated conversion from string constant to 'char*'
act_info.c:176: warning: deprecated conversion from string constant to 'char*'
act_info.c:177: warning: deprecated conversion from string constant to 'char*'
act_info.c:178: warning: deprecated conversion from string constant to 'char*'
act_info.c:179: warning: deprecated conversion from string constant to 'char*'
act_info.c:180: warning: deprecated conversion from string constant to 'char*'
act_info.c:181: warning: deprecated conversion from string constant to 'char*'
act_info.c:182: warning: deprecated conversion from string constant to 'char*'
act_info.c:183: warning: deprecated conversion from string constant to 'char*'
act_info.c:184: warning: deprecated conversion from string constant to 'char*'
act_info.c:185: warning: deprecated conversion from string constant to 'char*'
act_info.c:186: warning: deprecated conversion from string constant to 'char*'
act_info.c:187: warning: deprecated conversion from string constant to 'char*'
act_info.c:188: warning: deprecated conversion from string constant to 'char*'
act_info.c:189: warning: deprecated conversion from string constant to 'char*'
act_info.c:190: warning: deprecated conversion from string constant to 'char*'
act_info.c:191: warning: deprecated conversion from string constant to 'char*'
act_info.c:192: warning: deprecated conversion from string constant to 'char*'
act_info.c:196: warning: deprecated conversion from string constant to 'char*'
act_info.c:197: warning: deprecated conversion from string constant to 'char*'
act_info.c:198: warning: deprecated conversion from string constant to 'char*'
act_info.c:199: warning: deprecated conversion from string constant to 'char*'
act_info.c:200: warning: deprecated conversion from string constant to 'char*'
act_info.c:201: warning: deprecated conversion from string constant to 'char*'
act_info.c:202: warning: deprecated conversion from string constant to 'char*'
act_info.c:203: warning: deprecated conversion from string constant to 'char*'
act_info.c:204: warning: deprecated conversion from string constant to 'char*'
act_info.c:205: warning: deprecated conversion from string constant to 'char*'
act_info.c:206: warning: deprecated conversion from string constant to 'char*'
act_info.c:207: warning: deprecated conversion from string constant to 'char*'
act_info.c:208: warning: deprecated conversion from string constant to 'char*'
act_info.c:209: warning: deprecated conversion from string constant to 'char*'
act_info.c:210: warning: deprecated conversion from string constant to 'char*'
act_info.c:211: warning: deprecated conversion from string constant to 'char*'
act_info.c:212: warning: deprecated conversion from string constant to 'char*'
act_info.c:213: warning: deprecated conversion from string constant to 'char*'
act_info.c:214: warning: deprecated conversion from string constant to 'char*'
act_info.c:215: warning: deprecated conversion from string constant to 'char*'
act_info.c:217: warning: deprecated conversion from string constant to 'char*'
act_info.c: In function 'void show_list_to_char(OBJ_DATA*, CHAR_DATA*, bool, bool)':
act_info.c:397: warning: deprecated conversion from string constant to 'char*'
act_info.c: In function 'void show_visible_affects_to_char(CHAR_DATA*, CHAR_DATA*)':
act_info.c:476: warning: deprecated conversion from string constant to 'char*'
act_info.c: In function 'void show_char_to_char_1(CHAR_DATA*, CHAR_DATA*)':
act_info.c:770: warning: deprecated conversion from string constant to 'char*'
act_info.c: In function 'void show_ships_to_char(SHIP_DATA*, CHAR_DATA*)':
act_info.c:890: warning: deprecated conversion from string constant to 'char*'
act_info.c:896: warning: deprecated conversion from string constant to 'char*'
act_info.c:897: warning: deprecated conversion from string constant to 'char*'
act_info.c: In function 'void do_look(CHAR_DATA*, char*)':
act_info.c:1013: warning: deprecated conversion from string constant to 'char*'
act_info.c:1038: warning: deprecated conversion from string constant to 'char*'
act_info.c:1048: warning: deprecated conversion from string constant to 'char*'
act_info.c:1056: warning: deprecated conversion from string constant to 'char*'
act_info.c:1060: warning: deprecated conversion from string constant to 'char*'
act_info.c:1065: warning: deprecated conversion from string constant to 'char*'
act_info.c:1076: warning: deprecated conversion from string constant to 'char*'
act_info.c:1089: warning: deprecated conversion from string constant to 'char*'
act_info.c:1100: warning: deprecated conversion from string constant to 'char*'
act_info.c:1105: warning: deprecated conversion from string constant to 'char*'
act_info.c:1110: warning: deprecated conversion from string constant to 'char*'
act_info.c:1115: warning: deprecated conversion from string constant to 'char*'
act_info.c:1121: warning: deprecated conversion from string constant to 'char*'
act_info.c:1211: warning: deprecated conversion from string constant to 'char*'
act_info.c:1232: warning: deprecated conversion from string constant to 'char*'
act_info.c:1348: warning: deprecated conversion from string constant to 'char*'
act_info.c: In function 'void do_glance(CHAR_DATA*, char*)':
act_info.c:1537: warning: deprecated conversion from string constant to 'char*'
act_info.c: In function 'void do_examine(CHAR_DATA*, char*)':
act_info.c:1603: warning: deprecated conversion from string constant to 'char*'
act_info.c:1656: warning: deprecated conversion from string constant to 'char*'
act_info.c:1658: warning: deprecated conversion from string constant to 'char*'
act_info.c:1660: warning: deprecated conversion from string constant to 'char*'
act_info.c:1662: warning: deprecated conversion from string constant to 'char*'
act_info.c:1664: warning: deprecated conversion from string constant to 'char*'
act_info.c:1666: warning: deprecated conversion from string constant to 'char*'
act_info.c:1667: warning: deprecated conversion from string constant to 'char*'
act_info.c:1673: warning: deprecated conversion from string constant to 'char*'
act_info.c: At global scope:
act_info.c:1874: warning: deprecated conversion from string constant to 'char*'
act_info.c:1874: warning: deprecated conversion from string constant to 'char*'
act_info.c:1874: warning: deprecated conversion from string constant to 'char*'
act_info.c:1874: warning: deprecated conversion from string constant to 'char*'
act_info.c:1874: warning: deprecated conversion from string constant to 'char*'
act_info.c:1874: warning: deprecated conversion from string constant to 'char*'
act_info.c:1874: warning: deprecated conversion from string constant to 'char*'
act_info.c:1882: warning: deprecated conversion from string constant to 'char*'
act_info.c:1882: warning: deprecated conversion from string constant to 'char*'
act_info.c:1882: warning: deprecated conversion from string constant to 'char*'
act_info.c:1882: warning: deprecated conversion from string constant to 'char*'
act_info.c:1882: warning: deprecated conversion from string constant to 'char*'
act_info.c:1882: warning: deprecated conversion from string constant to 'char*'
act_info.c:1882: warning: deprecated conversion from string constant to 'char*'
act_info.c:1882: warning: deprecated conversion from string constant to 'char*'
act_info.c:1882: warning: deprecated conversion from string constant to 'char*'
act_info.c:1882: warning: deprecated conversion from string constant to 'char*'
act_info.c:1882: warning: deprecated conversion from string constant to 'char*'
act_info.c:1882: warning: deprecated conversion from string constant to 'char*'
act_info.c:1882: warning: deprecated conversion from string constant to 'char*'
act_info.c:1882: warning: deprecated conversion from string constant to 'char*'
act_info.c:1882: warning: deprecated conversion from string constant to 'char*'
act_info.c:1882: warning: deprecated conversion from string constant to 'char*'
act_info.c:1882: warning: deprecated conversion from string constant to 'char*'
act_info.c: In function 'void do_time(CHAR_DATA*, char*)':
act_info.c:1893: warning: deprecated conversion from string constant to 'char*'
act_info.c:1894: warning: deprecated conversion from string constant to 'char*'
act_info.c:1895: warning: deprecated conversion from string constant to 'char*'
act_info.c:1896: warning: deprecated conversion from string constant to 'char*'
act_info.c:1897: warning: deprecated conversion from string constant to 'char*'
act_info.c:1914: warning: deprecated conversion from string constant to 'char*'
act_info.c: In function 'void do_weather(CHAR_DATA*, char*)':
act_info.c:1929: warning: deprecated conversion from string constant to 'char*'
act_info.c:1929: warning: deprecated conversion from string constant to 'char*'
act_info.c:1929: warning: deprecated conversion from string constant to 'char*'
act_info.c:1929: warning: deprecated conversion from string constant to 'char*'
act_info.c:1943: warning: deprecated conversion from string constant to 'char*'
act_info.c: In function 'HELP_DATA* get_help(CHAR_DATA*, char*)':
act_info.c:1961: warning: deprecated conversion from string constant to 'char*'
act_info.c: In function 'void similar_help_files(CHAR_DATA*, char*)':
act_info.c:2114: warning: deprecated conversion from string constant to 'char*'
act_info.c: In function 'void do_help(CHAR_DATA*, char*)':
act_info.c:2138: warning: deprecated conversion from string constant to 'char*'
act_info.c:2146: warning: deprecated conversion from string constant to 'char*'
act_info.c: In function 'void do_hedit(CHAR_DATA*, char*)':
act_info.c:2223: warning: deprecated conversion from string constant to 'char*'
act_info.c: In function 'char* help_fix(char*)':
act_info.c:2240: warning: deprecated conversion from string constant to 'char*'
act_info.c: In function 'void do_hset(CHAR_DATA*, char*)':
act_info.c:2321: warning: deprecated conversion from string constant to 'char*'
act_info.c: In function 'void do_hlist(CHAR_DATA*, char*)':
act_info.c:2351: warning: deprecated conversion from string constant to 'char*'
act_info.c:2355: warning: deprecated conversion from string constant to 'char*'
act_info.c:2359: warning: deprecated conversion from string constant to 'char*'
act_info.c: In function 'void do_who(CHAR_DATA*, char*)':
act_info.c:2803: warning: deprecated conversion from string constant to 'char*'
act_info.c:2805: warning: deprecated conversion from string constant to 'char*'
act_info.c:2807: warning: deprecated conversion from string constant to 'char*'
act_info.c: In function 'void do_compare(CHAR_DATA*, char*)':
act_info.c:2868: warning: deprecated conversion from string constant to 'char*'
act_info.c:2872: warning: deprecated conversion from string constant to 'char*'
act_info.c:2879: warning: deprecated conversion from string constant to 'char*'
act_info.c:2896: warning: deprecated conversion from string constant to 'char*'
act_info.c:2897: warning: deprecated conversion from string constant to 'char*'
act_info.c:2898: warning: deprecated conversion from string constant to 'char*'
act_info.c: In function 'void do_where(CHAR_DATA*, char*)':
act_info.c:2928: warning: deprecated conversion from string constant to 'char*'
act_info.c:2940: warning: deprecated conversion from string constant to 'char*'
act_info.c:2958: warning: deprecated conversion from string constant to 'char*'
act_info.c: In function 'void do_consider(CHAR_DATA*, char*)':
act_info.c:2996: warning: deprecated conversion from string constant to 'char*'
act_info.c:2997: warning: deprecated conversion from string constant to 'char*'
act_info.c:2998: warning: deprecated conversion from string constant to 'char*'
act_info.c:2999: warning: deprecated conversion from string constant to 'char*'
act_info.c:3000: warning: deprecated conversion from string constant to 'char*'
act_info.c:3001: warning: deprecated conversion from string constant to 'char*'
act_info.c:3002: warning: deprecated conversion from string constant to 'char*'
act_info.c:3003: warning: deprecated conversion from string constant to 'char*'
act_info.c:3004: warning: deprecated conversion from string constant to 'char*'
act_info.c:3005: warning: deprecated conversion from string constant to 'char*'
act_info.c: In function 'void do_practice(CHAR_DATA*, char*)':
act_info.c:3061: warning: deprecated conversion from string constant to 'char*'
act_info.c:3080: warning: deprecated conversion from string constant to 'char*'
act_info.c:3084: warning: deprecated conversion from string constant to 'char*'
act_info.c:3140: warning: deprecated conversion from string constant to 'char*'
act_info.c: In function 'void do_teach(CHAR_DATA*, char*)':
act_info.c:3267: warning: deprecated conversion from string constant to 'char*'
act_info.c: In function 'void do_wimpy(CHAR_DATA*, char*)':
act_info.c:3326: warning: deprecated conversion from string constant to 'char*'
act_info.c: In function 'void do_socials(CHAR_DATA*, char*)':
act_info.c:3440: warning: deprecated conversion from string constant to 'char*'
act_info.c: In function 'void do_commands(CHAR_DATA*, char*)':
act_info.c:3469: warning: deprecated conversion from string constant to 'char*'
act_info.c:3488: warning: deprecated conversion from string constant to 'char*'
act_info.c:3497: warning: deprecated conversion from string constant to 'char*'
act_info.c: In function 'void do_wizlist(CHAR_DATA*, char*)':
act_info.c:3756: warning: deprecated conversion from string constant to 'char*'
act_info.c: In function 'void do_credits(CHAR_DATA*, char*)':
act_info.c:3983: warning: deprecated conversion from string constant to 'char*'
act_info.c: In function 'void do_areas(CHAR_DATA*, char*)':
act_info.c:4032: warning: deprecated conversion from string constant to 'char*'
act_info.c: In function 'void do_slist(CHAR_DATA*, char*)':
act_info.c:4131: warning: deprecated conversion from string constant to 'char*'
act_info.c:4134: warning: deprecated conversion from string constant to 'char*'
act_info.c:4142: warning: deprecated conversion from string constant to 'char*'
act_info.c: In function 'void do_whois(CHAR_DATA*, char*)':
act_info.c:4193: warning: deprecated conversion from string constant to 'char*'
act_info.c:4195: warning: deprecated conversion from string constant to 'char*'
act_info.c:4199: warning: deprecated conversion from string constant to 'char*'
act_info.c:4218: warning: deprecated conversion from string constant to 'char*'
act_info.c:4223: warning: deprecated conversion from string constant to 'char*'
act_info.c:4233: warning: deprecated conversion from string constant to 'char*'
act_info.c:4236: warning: deprecated conversion from string constant to 'char*'
act_info.c:4239: warning: deprecated conversion from string constant to 'char*'
act_info.c:4242: warning: deprecated conversion from string constant to 'char*'
act_info.c:4246: warning: deprecated conversion from string constant to 'char*'
act_info.c:4253: warning: deprecated conversion from string constant to 'char*'
act_info.c: In function 'void do_pager(CHAR_DATA*, char*)':
act_info.c:4304: warning: deprecated conversion from string constant to 'char*'
act_info.c:4306: warning: deprecated conversion from string constant to 'char*'
act_info.c:4317: warning: deprecated conversion from string constant to 'char*'
act_info.c: In function 'void do_nohelps(CHAR_DATA*, char*)':
act_info.c:4586: warning: deprecated conversion from string constant to 'char*'
act_info.c:4588: warning: deprecated conversion from string constant to 'char*'
act_info.c:4590: warning: deprecated conversion from string constant to 'char*'
act_info.c:4605: warning: deprecated conversion from string constant to 'char*'
act_info.c:4626: warning: deprecated conversion from string constant to 'char*'
act_info.c:4646: warning: deprecated conversion from string constant to 'char*'
g++ -c -g3 -Wall act_move.c
act_move.c:39: warning: deprecated conversion from string constant to 'char*'
act_move.c:39: warning: deprecated conversion from string constant to 'char*'
act_move.c:39: warning: deprecated conversion from string constant to 'char*'
act_move.c:39: warning: deprecated conversion from string constant to 'char*'
act_move.c:39: warning: deprecated conversion from string constant to 'char*'
act_move.c:39: warning: deprecated conversion from string constant to 'char*'
act_move.c:39: warning: deprecated conversion from string constant to 'char*'
act_move.c:39: warning: deprecated conversion from string constant to 'char*'
act_move.c:39: warning: deprecated conversion from string constant to 'char*'
act_move.c:39: warning: deprecated conversion from string constant to 'char*'
act_move.c:39: warning: deprecated conversion from string constant to 'char*'
act_move.c:72: warning: deprecated conversion from string constant to 'char*'
act_move.c:72: warning: deprecated conversion from string constant to 'char*'
act_move.c:72: warning: deprecated conversion from string constant to 'char*'
act_move.c:72: warning: deprecated conversion from string constant to 'char*'
act_move.c:72: warning: deprecated conversion from string constant to 'char*'
act_move.c:72: warning: deprecated conversion from string constant to 'char*'
act_move.c:72: warning: deprecated conversion from string constant to 'char*'
act_move.c:72: warning: deprecated conversion from string constant to 'char*'
act_move.c:72: warning: deprecated conversion from string constant to 'char*'
act_move.c:72: warning: deprecated conversion from string constant to 'char*'
act_move.c:72: warning: deprecated conversion from string constant to 'char*'
act_move.c:72: warning: deprecated conversion from string constant to 'char*'
act_move.c:72: warning: deprecated conversion from string constant to 'char*'
act_move.c:72: warning: deprecated conversion from string constant to 'char*'
act_move.c:72: warning: deprecated conversion from string constant to 'char*'
act_move.c:72: warning: deprecated conversion from string constant to 'char*'
act_move.c:72: warning: deprecated conversion from string constant to 'char*'
act_move.c:72: warning: deprecated conversion from string constant to 'char*'
act_move.c:72: warning: deprecated conversion from string constant to 'char*'
act_move.c:72: warning: deprecated conversion from string constant to 'char*'
act_move.c:72: warning: deprecated conversion from string constant to 'char*'
act_move.c:72: warning: deprecated conversion from string constant to 'char*'
act_move.c:72: warning: deprecated conversion from string constant to 'char*'
act_move.c:72: warning: deprecated conversion from string constant to 'char*'
act_move.c:72: warning: deprecated conversion from string constant to 'char*'
act_move.c:72: warning: deprecated conversion from string constant to 'char*'
act_move.c:72: warning: deprecated conversion from string constant to 'char*'
act_move.c:72: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c:175: warning: deprecated conversion from string constant to 'char*'
act_move.c: In function 'ROOM_INDEX_DATA* generate_exit(ROOM_INDEX_DATA*, EXIT_DATA**)':
act_move.c:583: warning: deprecated conversion from string constant to 'char*'
act_move.c:584: warning: deprecated conversion from string constant to 'char*'
act_move.c:591: warning: deprecated conversion from string constant to 'char*'
act_move.c:592: warning: deprecated conversion from string constant to 'char*'
act_move.c:604: error: lvalue required as left operand of assignment
act_move.c: In function 'ch_ret move_char(CHAR_DATA*, EXIT_DATA*, int)':
act_move.c:822: warning: deprecated conversion from string constant to 'char*'
act_move.c:824: warning: deprecated conversion from string constant to 'char*'
act_move.c:883: warning: deprecated conversion from string constant to 'char*'
act_move.c:992: warning: deprecated conversion from string constant to 'char*'
act_move.c:1000: warning: deprecated conversion from string constant to 'char*'
act_move.c:1003: warning: deprecated conversion from string constant to 'char*'
act_move.c:1005: warning: deprecated conversion from string constant to 'char*'
act_move.c:1012: warning: deprecated conversion from string constant to 'char*'
act_move.c:1014: warning: deprecated conversion from string constant to 'char*'
act_move.c:1020: warning: deprecated conversion from string constant to 'char*'
act_move.c:1022: warning: deprecated conversion from string constant to 'char*'
act_move.c:1026: warning: deprecated conversion from string constant to 'char*'
act_move.c:1029: warning: deprecated conversion from string constant to 'char*'
act_move.c:1033: warning: deprecated conversion from string constant to 'char*'
act_move.c:1035: warning: deprecated conversion from string constant to 'char*'
act_move.c:1074: warning: deprecated conversion from string constant to 'char*'
act_move.c:1079: warning: deprecated conversion from string constant to 'char*'
act_move.c:1082: warning: deprecated conversion from string constant to 'char*'
act_move.c:1084: warning: deprecated conversion from string constant to 'char*'
act_move.c:1091: warning: deprecated conversion from string constant to 'char*'
act_move.c:1093: warning: deprecated conversion from string constant to 'char*'
act_move.c:1099: warning: deprecated conversion from string constant to 'char*'
act_move.c:1101: warning: deprecated conversion from string constant to 'char*'
act_move.c:1105: warning: deprecated conversion from string constant to 'char*'
act_move.c:1108: warning: deprecated conversion from string constant to 'char*'
act_move.c:1112: warning: deprecated conversion from string constant to 'char*'
act_move.c:1114: warning: deprecated conversion from string constant to 'char*'
act_move.c:1119: warning: deprecated conversion from string constant to 'char*'
act_move.c:1120: warning: deprecated conversion from string constant to 'char*'
act_move.c:1121: warning: deprecated conversion from string constant to 'char*'
act_move.c:1122: warning: deprecated conversion from string constant to 'char*'
act_move.c:1123: warning: deprecated conversion from string constant to 'char*'
act_move.c:1124: warning: deprecated conversion from string constant to 'char*'
act_move.c:1125: warning: deprecated conversion from string constant to 'char*'
act_move.c:1126: warning: deprecated conversion from string constant to 'char*'
act_move.c:1127: warning: deprecated conversion from string constant to 'char*'
act_move.c:1128: warning: deprecated conversion from string constant to 'char*'
act_move.c:1129: warning: deprecated conversion from string constant to 'char*'
act_move.c:1160: warning: deprecated conversion from string constant to 'char*'
act_move.c: In function 'void do_open(CHAR_DATA*, char*)':
act_move.c:1405: warning: deprecated conversion from string constant to 'char*'
act_move.c:1433: warning: deprecated conversion from string constant to 'char*'
act_move.c:1439: warning: deprecated conversion from string constant to 'char*'
act_move.c:1459: warning: deprecated conversion from string constant to 'char*'
act_move.c:1464: warning: deprecated conversion from string constant to 'char*'
act_move.c:1469: warning: deprecated conversion from string constant to 'char*'
act_move.c:1474: warning: deprecated conversion from string constant to 'char*'
act_move.c: In function 'void do_close(CHAR_DATA*, char*)':
act_move.c:1508: warning: deprecated conversion from string constant to 'char*'
act_move.c:1555: warning: deprecated conversion from string constant to 'char*'
act_move.c:1560: warning: deprecated conversion from string constant to 'char*'
act_move.c:1565: warning: deprecated conversion from string constant to 'char*'
act_move.c: In function 'void do_lock(CHAR_DATA*, char*)':
act_move.c:1658: warning: deprecated conversion from string constant to 'char*'
act_move.c: In function 'void do_unlock(CHAR_DATA*, char*)':
act_move.c:1723: warning: deprecated conversion from string constant to 'char*'
act_move.c: In function 'void do_bashdoor(CHAR_DATA*, char*)':
act_move.c:1770: warning: deprecated conversion from string constant to 'char*'
act_move.c: In function 'void teleportch(CHAR_DATA*, ROOM_INDEX_DATA*, bool)':
act_move.c:2251: warning: deprecated conversion from string constant to 'char*'
act_move.c: In function 'void do_leave(CHAR_DATA*, char*)':
act_move.c:2362: warning: deprecated conversion from string constant to 'char*'
act_move.c:2372: warning: deprecated conversion from string constant to 'char*'
make[1]: *** [act_move.o] Error 1
make[1]: Leaving directory `/home/rinlek/swrip200/src'
make: *** [all] Error 2
10 Oct, 2010, David Haley wrote in the 17th comment:
Votes: 0
You didn't have to do that, as long as the old code was compiling correctly; your friend gave incorrect advice or it was misunderstood.

In any case, the error in all of that is:
act_move.c:604: error: lvalue required as left operand of assignment

so that is the one you will need to fix. You should post that line (along with some context) if you can't see how to fix it.
10 Oct, 2010, rinlek wrote in the 18th comment:
Votes: 0
i believe these are the lines unless i messed up on my count
ch_ret move_char( CHAR_DATA *ch, EXIT_DATA *pexit, int fall )
{
ROOM_INDEX_DATA *in_room;
ROOM_INDEX_DATA *to_room;
ROOM_INDEX_DATA *from_room;
char buf[MAX_STRING_LENGTH];
char *txt;
char *dtxt;
ch_ret retcode;
sh_int door, distance;
bool drunk = FALSE;
bool brief = FALSE;
int hpmove;

if ( !IS_NPC( ch ) )
if ( IS_DRUNK( ch, 2 ) && ( ch->position != POS_SHOVE )
&& ( ch->position != POS_DRAG ) )
drunk = TRUE;

if ( drunk && !fall )
{
door = number_door();
pexit = get_exit( ch->in_room, door );
}

#ifdef DEBUG
if ( pexit )
{
sprintf( buf, "move_char: %s to door %d", ch->name, pexit->vdir );
log_string( buf );
}
#endif
10 Oct, 2010, rinlek wrote in the 19th comment:
Votes: 0
i found the problem, my count was off, the code is

EXIT_DATA *tmp = get_exit( backroom, vdir );
int fulldist = tmp->distance;

bxit->distance = fulldist - distance;
}
}
(EXIT_DATA *) pexit = xit;
return room;
}

after looking at act_move in the stock swrfuss code, i saw this
EXIT_DATA *tmp = get_exit( backroom, vdir );
int fulldist = tmp->distance;

bxit->distance = fulldist - distance;
}
}
*pexit = xit;
return room;
}

after changing the line to the one from swrfuss, it compiled correctly, turns out i had messed up the compile the first time.
10 Oct, 2010, David Haley wrote in the 20th comment:
Votes: 0
You should use a text editor that gives you line numbers; it's going to be very hard to write code if you have to count lines by hand like that. There are many Windows text editors that do this (and have other features); try Notepad++, Crimson Editor, gVim, xEmacs, even Word Pad. I'm assuming that you're using Windows, but there are very many text editors for other platforms as well.

Also, yes, if the original compilation failed, then you wouldn't have been able to run the MUD. That is why people were asking if the executable was in fact there. Are your problems fixed now?
0.0/39