17 Aug, 2009, Trask wrote in the 1st comment:
Votes: 0
Hi guys,

I'm trying to compile the latest Murk++ build on linux. In my makefile I have the following:

DEFS = -DOS_UNIX=1 -DOS_WIN=0 -DHAVE_USLEEP=1 -DHAVE_FDATASYNC=1 -DNDEBUG -DSQLITE_OMIT_UTF16 -DSQLITE_OMIT_AUTHORIZATION -DSQLITE_OMIT_TCL_VARIABLE -DSQLITE_OMIT_LOAD_EXTENSION

I had to insert the -DSQLITE_OMIT_LOAD_EXTENSION to get it past some errors with dlsym, dlopen etc, but now I get the following:

g++ -c -O2 -pipe -Wall -Wno-parentheses -Wno-unused -W -g -fno-default-inline -Isqlite3 murk.cpp -o murk.o
In file included from config.hpp:527,
from murk.cpp:40:
character.hpp:92: error: extra qualification ‘Character::’ on member ‘Character’
character.hpp:93: error: extra qualification ‘Character::’ on member ‘Character’
murk.cpp: In function ‘void mprog_translate(char, std::string&, Character*, Character*, Object*, void*, Character*)’:
murk.cpp:1454: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:1454: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:1454: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:1455: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:1455: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:1455: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:1456: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:1456: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:1456: warning: deprecated conversion from string constant to ‘char*’
murk.cpp: In function ‘void obj_update()’:
murk.cpp:3070: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:3073: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:3076: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:3079: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:3082: warning: deprecated conversion from string constant to ‘char*’
murk.cpp: In function ‘void death_cry(Character*)’:
murk.cpp:3703: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:3706: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:3709: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:3712: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:3716: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:3720: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:3724: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:3728: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:3754: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:3756: warning: deprecated conversion from string constant to ‘char*’
murk.cpp: In function ‘void dam_message(Character*, Character*, int, int)’:
murk.cpp:3919: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:3919: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:3919: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:3919: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:3919: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:3919: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:3919: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:3919: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:3919: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:3919: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:3919: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:3919: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:3919: warning: deprecated conversion from string constant to ‘char*’
murk.cpp: In function ‘void say_spell(Character*, int)’:
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4428: warning: deprecated conversion from string constant to ‘char*’
murk.cpp: In function ‘void load_mobprogs(std::ifstream&)’:
murk.cpp:4562: warning: suggest a space before ‘;’ or explicit braces around empty body in ‘for’ statement
murk.cpp: In function ‘bool spec_breath_acid(Character*)’:
murk.cpp:4853: warning: deprecated conversion from string constant to ‘char*’
murk.cpp: In function ‘bool spec_breath_fire(Character*)’:
murk.cpp:4858: warning: deprecated conversion from string constant to ‘char*’
murk.cpp: In function ‘bool spec_breath_frost(Character*)’:
murk.cpp:4863: warning: deprecated conversion from string constant to ‘char*’
murk.cpp: In function ‘bool spec_breath_lightning(Character*)’:
murk.cpp:4881: warning: deprecated conversion from string constant to ‘char*’
murk.cpp: In function ‘bool spec_cast_cleric(Character*)’:
murk.cpp:4965: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4969: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4973: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4977: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4981: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4985: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4989: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4993: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:4999: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:5003: warning: deprecated conversion from string constant to ‘char*’
murk.cpp: In function ‘bool spec_cast_judge(Character*)’:
murk.cpp:5037: warning: deprecated conversion from string constant to ‘char*’
murk.cpp: In function ‘bool spec_cast_mage(Character*)’:
murk.cpp:5070: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:5074: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:5078: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:5082: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:5086: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:5090: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:5094: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:5100: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:5104: warning: deprecated conversion from string constant to ‘char*’
murk.cpp: In function ‘bool spec_cast_undead(Character*)’:
murk.cpp:5144: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:5148: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:5152: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:5156: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:5160: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:5164: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:5168: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:5172: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:5176: warning: deprecated conversion from string constant to ‘char*’
murk.cpp: In function ‘bool spec_executioner(Character*)’:
murk.cpp:5196: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:5202: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:5208: warning: deprecated conversion from string constant to ‘char*’
murk.cpp: In function ‘bool spec_guard(Character*)’:
murk.cpp:5263: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:5269: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:5275: warning: deprecated conversion from string constant to ‘char*’
murk.cpp: In function ‘char* mprog_type_to_name(int)’:
murk.cpp:5479: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:5481: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:5483: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:5485: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:5487: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:5489: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:5491: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:5493: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:5495: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:5497: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:5499: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:5501: warning: deprecated conversion from string constant to ‘char*’
murk.cpp:5503: warning: deprecated conversion from string constant to ‘char*’
make: *** [murk.o] Error 1


Any help would be greatly appreciated.
Cheers
17 Aug, 2009, Davion wrote in the 2nd comment:
Votes: 0
Add -Wno-write-strings to the makefile.
28 Aug, 2009, Grave wrote in the 3rd comment:
Votes: 0
Was trying to find help with this codebase too heh, but as for your error:

character.hpp:92: error: extra qualification �Character::� on member �Character�
character.hpp:93: error: extra qualification �Character::� on member �Character�


In character.hpp lines 92 and 93, you should see Character::Character(); and Character::~Character(); respectively, just remove the Character:: part to fix it. what you should be left is just
Character();
~Character();


I managed to do that one myself, but right after that you should be getting:
rm: cannot remove `murkold.exe': No such file or directory
make: [murk.exe] Error 1 (ignored)
mv: cannot stat `murk.exe': No such file or directory
make: [murk.exe] Error 1 (ignored)

I did a quick grep and didn't find the murkold.exe anywhere, so I commented out the remove and the move in the makefile. After that you should get your murk.exe.

Eeeeeeexcept, after that the doc.txt says you need to 'make database' as well, which gives you the error
cp: cannot stat `murk.db': No such file or directory
make: [database] Error 1 (ignored)
rm: cannot remove `murk.db': No such file or directory
make: [database] Error 1 (ignored)
/bin/sh: sqlite3/sqlite3: not found
make: *** [database] Error 127


Because the errors are just like the ones above, commenting them out will fix it [temporarily?], but that leaves me with the
/bin/sh: sqlite3/sqlite3: not found

And I have no idea what to do after that. Looks like it's a library not located in the shell (which means it has to be installed)? or what, I do not know. Any ideas?
28 Aug, 2009, Tyche wrote in the 4th comment:
Votes: 0
Grave said:
In character.hpp lines 92 and 93, you should see Character::Character(); and Character::~Character(); respectively, just remove the Character:: part to fix it. what you should be left is just
Character();
~Character();


Correct. Fixed in repository.

Grave said:
I managed to do that one myself, but right after that you should be getting:
rm: cannot remove `murkold.exe': No such file or directory
make: [murk.exe] Error 1 (ignored)
mv: cannot stat `murk.exe': No such file or directory
make: [murk.exe] Error 1 (ignored)

I did a quick grep and didn't find the murkold.exe anywhere, so I commented out the remove and the move in the makefile. After that you should get your murk.exe.


No need to comment it out. The error is intentionally ignored by the make command directive.

Grave said:
Eeeeeeexcept, after that the doc.txt says you need to 'make database' as well, which gives you the error
cp: cannot stat `murk.db': No such file or directory
make: [database] Error 1 (ignored)
rm: cannot remove `murk.db': No such file or directory
make: [database] Error 1 (ignored)
/bin/sh: sqlite3/sqlite3: not found
make: *** [database] Error 127


Because the errors are just like the ones above, commenting them out will fix it [temporarily?], but that leaves me with the
/bin/sh: sqlite3/sqlite3: not found


Same deal with commenting them out. They are ignored.

Sqlite3 ships with Murk++. Both the static library and the executable ought to have been built in the sqlite3 directory.
I don't see that in the user's messages.

Which Linux is this?
Which G++ version?
64-bit?
28 Aug, 2009, Grave wrote in the 5th comment:
Votes: 0
Tyche said:
Which Linux is this?
Which G++ version?
64-bit?


grave@vermaxhosting:~/murk++$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v –with-pkgversion='Ubuntu 4.3.2-1ubuntu12' –with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs –enable-
languages=c,c++,fortran,objc,obj-c++ –prefix=/usr –enable-shared –with-system-zlib –libexecdir=/usr/lib –without-included-gettext –enable-
threads=posix –enable-nls –with-gxx-include-dir=/usr/include/c++/4.3 –program-suffix=-4.3 –enable-clocale=gnu –enable-libstdcxx-debug –enable-
objc-gc –enable-mpfr –enable-targets=all –enable-checking=release –build=i486-linux-gnu –host=i486-linux-gnu –target=i486-linux-gnu
Thread model: posix
gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu12)
grave@vermaxhosting:~/murk++$ uname -r
2.6.27-11-server
grave@vermaxhosting:~/murk++$ uname -m
i686
28 Aug, 2009, David Haley wrote in the 6th comment:
Votes: 0
Grave's avatar:

OK, I'll admit that I lol'ed :lol:

(edit: view actual image for full size, forum shrinks it slightly)
30 Aug, 2009, Grave wrote in the 7th comment:
Votes: 0
Eh, I figured everything out. It was all the makefile's fault :P

database: $(SQLITE_PRG) loadhelps$(EXE)
@echo "Building database…"
@-cp murk.db murk.db.bkup
@-rm murk.db
@sqlite3/sqlite3 murk.db < schema
@./loadhelps
@echo "Done."


Because macro EXE was defined, I had to add the extension to lines 5/6, which would give you…

@sqlite3/sqlite3$(EXE) murk.db < schema
@./loadhelps$(EXE)


After that, I also had to edit the startup script because it tried to run ./murk, when compiling the mud outputs the binary murk.exe, so yeah. I believe Tyche intentionally tried to sabotage his code so that people would have to put in a little bit of effort (albeit not that much, I suppose) to get it running. :P
30 Aug, 2009, Tyche wrote in the 8th comment:
Votes: 0
Okay in the makefile, you need to add "-ldl" to both…

LIBS = -lcrypt -ldl


and…
$(SQLITE_PRG): $(SQLITE_PRG_OBJ) $(SQLITE_LIB)
$(CC) $(LFLAGS) -o $@ $^ -ldl


And make sure these lines are appropriately uncommented or commented out:
# The suffix appended to executables.  
# This should be set for Cygwin and Windows.
#EXE = .exe
EXE =

# This should be OS_WIN=1 for Cygwin
#DEFS = -DOS_UNIX=0 -DOS_WIN=1 -DHAVE_USLEEP=1 -DHAVE_FDATASYNC=1 -DNDEBUG -DSQLITE_OMIT_UTF16 -DSQLITE_OMIT_AUTHORIZATION -DSQLITE_OMIT_TCL_VARIABLE
# For other unixes
DEFS = -DOS_UNIX=1 -DOS_WIN=0 -DHAVE_USLEEP=1 -DHAVE_FDATASYNC=1 -DNDEBUG -DSQLITE_OMIT_UTF16 -DSQLITE_OMIT_AUTHORIZATION -DSQLITE_OMIT_TCL_VARIABLE
# For FreeBSD
#DEFS = -DOS_UNIX=1 -DOS_WIN=0 -DHAVE_USLEEP=1 -DNDEBUG -DSQLITE_OMIT_UTF16 -DSQLITE_OMIT_AUTHORIZATION -DSQLITE_OMIT_TCL_VARIABLE


Quote
I had to insert the -DSQLITE_OMIT_LOAD_EXTENSION to get it past some errors with dlsym, dlopen etc, but now I get the following:


Oh and to the OP, don't add the define above.

Run…
make cleanall
make

to make sure everything will be rebuilt correctly.
30 Aug, 2009, Tyche wrote in the 9th comment:
Votes: 0
Grave said:
I believe Tyche intentionally tried to sabotage his code so that people would have to put in a little bit of effort (albeit not that much, I suppose) to get it running. :P


Yes, I cleverly hid some instructions in the makefile comments. ;-)

The makefile is setup for cygwin by default, as I don't often use those other Linux thingies.
But I do have an Ubuntu VM setup now for testing. :-)
30 Aug, 2009, Grave wrote in the 10th comment:
Votes: 0
Hmm…is there a reason I'm unable to [re]login as my character? Trying to login as character One gives me "Did I get that right, One (Y/N)?"

The logs give me no bug reports or the like, seems like something's messing up with the database? I'm not experienced in SQL much, so I'm not sure how to track this one down…

[EDIT: Nevermind, error on my part. I was just messing around with certain things…]

Question: Do you have any site recommendations where I would be able to learn how to utilize the SQLite support? I've never really touched anything with it before, and I know that I wouldn't be able to make the code function to its potential without using it correctly. :/
30 Aug, 2009, Tyche wrote in the 11th comment:
Votes: 0
Grave said:
Hmm…is there a reason I'm unable to [re]login as my character? Trying to login as character One gives me "Did I get that right, One (Y/N)?"

The logs give me no bug reports or the like, seems like something's messing up with the database? I'm not experienced in SQL much, so I'm not sure how to track this one down…


Sorry I can't replicate that. The character loading/saving is not done to the database.
30 Aug, 2009, Grave wrote in the 12th comment:
Votes: 0
Tyche said:
Grave said:
Hmm…is there a reason I'm unable to [re]login as my character? Trying to login as character One gives me "Did I get that right, One (Y/N)?"

The logs give me no bug reports or the like, seems like something's messing up with the database? I'm not experienced in SQL much, so I'm not sure how to track this one down…


Sorry I can't replicate that. The character loading/saving is not done to the database.


Yeah that was my fault, I temporarily moved all the files to a different directory (while the MUD was still running in the background). I'm not exactly looking forward to having all my files in one folder, so I'm probably going to work on reorganizing it into different directories, reminiscent of most Merc derivatives. Also I'd like to add ANSI support, that one should keep me busy for a while, heh.

In case you missed my post edit,
Quote
Question: Do you have any site recommendations where I would be able to learn how to utilize the SQLite support? I've never really touched anything with it before, and I know that I wouldn't be able to make the code function to its potential without using it correctly. :/


Thanks.
30 Aug, 2009, Tyche wrote in the 13th comment:
Votes: 0
Grave said:
Yeah that was my fault, I temporarily moved all the files to a different directory (while the MUD was still running in the background). I'm not exactly looking forward to having all my files in one folder, so I'm probably going to work on reorganizing it into different directories, reminiscent of most Merc derivatives. Also I'd like to add ANSI support, that one should keep me busy for a while, heh.


The entire codebase used to in one big file, but for some reason a lot of people didn't like that. ;-)

Grave said:
Question: Do you have any site recommendations where I would be able to learn how to utilize the SQLite support? I've never really touched anything with it before, and I know that I wouldn't be able to make the code function to its potential without using it correctly. :/


Only a few things have been moved to the database. IIRC, helps, socials, and titles. The schema file contains definitions for much more than is actually implemented.

http://sqlite.org is probably the best place to start as it contains a wiki with tutorials and information specific to how Sqlite implements SQL.
0.0/13