Go Back   Champions of Regnum > English > The Inn

The Inn A place to gather around and chat about almost any subject

Reply
 
Thread Tools Display Modes
Old 03-13-2012, 08:22 PM   #41
SilverHaven
Initiate
 
Join Date: Apr 2011
Posts: 179
SilverHaven is on a distinguished road
Default

Quote:
Originally Posted by isgandarli View Post
Update.

Won't work on Windows 7. Tried to run in compatibility mode (Vista, XP, etc.) but won't help. Any ideas?

I had previous version, it was working perfectly on the same machine.
There is bug somewhere. I didnt study the source code, but when i compile that on linux and run, i get segmentation fault too.

Edit:
Ok, problem is in opening the database. It doesnt succeed, query variable is uninitialized, but it gets accessed later and app crashes. Hope that helps.

Last edited by Jaroslav; 03-13-2012 at 08:41 PM.
SilverHaven no ha iniciado sesión   Reply With Quote
Old 03-14-2012, 02:42 PM   #42
Phlue4
Master
 
Join Date: Nov 2010
Posts: 322
Phlue4 is on a distinguished road
Default

Quote:
hello.

I am kind of noob with this stuff. I download those 2 things. but how i can open it?
I dont get it either.

Honestly, what the hell am I supposed to do with a bunch of c++ - source files?

What terminal do I have to open?

Thanks.
Phlue4 no ha iniciado sesión   Reply With Quote
Old 03-15-2012, 12:17 PM   #43
SilverHaven
Initiate
 
Join Date: Apr 2011
Posts: 179
SilverHaven is on a distinguished road
Default

Quote:
Originally Posted by Phlue4 View Post
I dont get it either.

Honestly, what the hell am I supposed to do with a bunch of c++ - source files?

What terminal do I have to open?

Thanks.
You need to compile it, obviously. There is README in the archive saying exacly what you need to do - run qmake, then make. qmake is part of Qt (thats multiplatform toolkit for network, gui, ...) so you will need it.
If you have windows, i suggest you download "Qt creator" with bundled Qt SDK and Mingw compiler, open the .pro file there and click build button, thats it.
On linux, you need qt, make and gcc installed (+ development packages if your linux distro split those, ubuntu does so, arch linux doesnt), run from terminal those 2 commands, or you can also install qt creator and do it from there.
But as I said in my previous comment, database connection fails, seems like the hardcoded username//password in the source code is not valid, they changed ip, or something like that.
SilverHaven no ha iniciado sesión   Reply With Quote
Old 03-15-2012, 01:12 PM   #44
isgandarli
Banned
 
isgandarli's Avatar
 
Join Date: Jan 2011
Posts: 280
isgandarli is on a distinguished road
Default

Builded at Archlinux using PKGBUILD.

Got 'Segmentation fault' error.

*bump*
isgandarli no ha iniciado sesión   Reply With Quote
Old 03-15-2012, 06:33 PM   #45
Phlue4
Master
 
Join Date: Nov 2010
Posts: 322
Phlue4 is on a distinguished road
Default

Quote:
Originally Posted by Jaroslav View Post
You need to compile it, obviously. There is README in the archive saying exacly what you need to do - run qmake, then make. qmake is part of Qt (thats multiplatform toolkit for network, gui, ...) so you will need it.
If you have windows, i suggest you download "Qt creator" with bundled Qt SDK and Mingw compiler, open the .pro file there and click build button, thats it.
On linux, you need qt, make and gcc installed (+ development packages if your linux distro split those, ubuntu does so, arch linux doesnt), run from terminal those 2 commands, or you can also install qt creator and do it from there.
But as I said in my previous comment, database connection fails, seems like the hardcoded username//password in the source code is not valid, they changed ip, or something like that.
yeah ok thanks.. just wanted to try out that program... but ok... who needs an exe file when you can just compile it by yourself ...
Phlue4 no ha iniciado sesión   Reply With Quote
Old 03-15-2012, 07:57 PM   #46
SilverHaven
Initiate
 
Join Date: Apr 2011
Posts: 179
SilverHaven is on a distinguished road
Default

Quote:
Originally Posted by isgandarli View Post
Builded at Archlinux using PKGBUILD.

Got 'Segmentation fault' error.

*bump*
PPl dont read, reason why is in my comment - database connection fails, the "query" object is then uninitialized, but it still gets accessed because the code "suppose" database connection never fails and query is always initialized. That needs fixing, but I am too lazy to actually write anything, been helping a friend with his java project these days and I just cant stand it anymore ... for a while
SilverHaven no ha iniciado sesión   Reply With Quote
Old 03-15-2012, 09:06 PM   #47
isgandarli
Banned
 
isgandarli's Avatar
 
Join Date: Jan 2011
Posts: 280
isgandarli is on a distinguished road
Default

Quote:
Originally Posted by Jaroslav View Post
PPl dont read, reason why is in my comment - database connection fails, the "query" object is then uninitialized, but it still gets accessed because the code "suppose" database connection never fails and query is always initialized. That needs fixing, but I am too lazy to actually write anything, been helping a friend with his java project these days and I just cant stand it anymore ... for a while
Sorry, missed that one. Thanks. Hope someone more skilled than me in development will fix it someday
isgandarli no ha iniciado sesión   Reply With Quote
Old 03-17-2012, 03:44 PM   #48
Znurre
Marquis
 
Join Date: Jan 2007
Location: RA
Posts: 1,897
Znurre will become famous soon enoughZnurre will become famous soon enough
Default

Probably an error on my end.
As you might've noticed I am not really active on here anymore, and I am not really maintaining my Regnum tools either.
I'll see what I can do about it...

UPDATE: Changing the IP to my new server ip (95.143.195.233) in NetworkHandler.h should solve the problem.
__________________
Winning a fight is not what makes you a good player, it's how you do it.
http://home.znur.re/screenshot%20201...2011_39_37.jpg
Znurre no ha iniciado sesión   Reply With Quote
Old 03-17-2012, 03:46 PM   #49
isgandarli
Banned
 
isgandarli's Avatar
 
Join Date: Jan 2011
Posts: 280
isgandarli is on a distinguished road
Default

Quote:
Originally Posted by Znurre View Post
Probably an error on my end.
As you might've noticed I am not really active on here anymore, and I am not really maintaining my Regnum tools either.
I'll see what I can do about it...
Thank you
isgandarli no ha iniciado sesión   Reply With Quote
Old 09-23-2012, 01:05 AM   #50
Phlue4
Master
 
Join Date: Nov 2010
Posts: 322
Phlue4 is on a distinguished road
Default

Quote:
Originally Posted by Jaroslav View Post
You need to compile it, obviously. There is README in the archive saying exacly what you need to do - run qmake, then make. qmake is part of Qt (thats multiplatform toolkit for network, gui, ...) so you will need it.
If you have windows, i suggest you download "Qt creator" with bundled Qt SDK and Mingw compiler, open the .pro file there and click build button, thats it.
On linux, you need qt, make and gcc installed (+ development packages if your linux distro split those, ubuntu does so, arch linux doesnt), run from terminal those 2 commands, or you can also install qt creator and do it from there.
But as I said in my previous comment, database connection fails, seems like the hardcoded username//password in the source code is not valid, they changed ip, or something like that.
I really tried hard again now but did not manage to get the program started.
I am done with it and would be the happiest person on earth if somebody could make a compiled version out of it.
Phlue4 no ha iniciado sesión   Reply With Quote
Reply

Tags
community application, rp manager, znurre


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:12 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
NGD Studios 2002-2024 © All rights reserved