Error with compiling.

Welcome in the osRose emulator Project.

Moderators: osRose dev team, ospRose dev team, osiRose dev team, Moderators

Error with compiling.

Postby aHoHuMeH on Thu Apr 02, 2009 10:39 am

Hi guys I am new here i try to make my server but i got this error with compiling let's see what give me

Image

Image
aHoHuMeH
Little soul
Little soul
 
Posts: 1
Joined: Thu Apr 02, 2009 10:29 am

Re: Error with compiling.

Postby lmame on Thu Apr 02, 2009 1:12 pm

Yep you're right, I just tried and it seems the first error is rather the:
"#endif without #if" on file worldmap.cpp, line 67.
And it's true, a #if is missing.

It seems it was the case also on the previous rev as well, it seems it has been deleted on rev 162.

Try this:
BEFORE:
  1.  
  2. if(GServer->Config.Spawntype == 0)
  3.  


ADD:
The world is full of love and peace ^_^
Image
User avatar
lmame
Admin
Admin
 
Posts: 8997
Joined: Mon Aug 06, 2007 4:42 pm
Location: July City

Re: Error with compiling.

Postby PurpleYouko on Thu Apr 02, 2009 2:46 pm

OMG someone using an osprose server............. :o

If you are using rev 162 then this is the least of your worries. there is a load of stuff in there that will crash the hell out of your server.
162 is the result of me copying selected parts of my KTRose server into the osprose SVN and accidentally taking some stuff that shouldn't be there at all.

config.spawntype is one such thing.
There should be no such config variable in standard osprose code.

163 fixes those issues but apparently still has a very minor problem with linking due to an unresolved link to a function that doesn't exist.

I just uploaded 164 which should compile perfectly. it did for me anyway.

Please make sure you do a complete rebuild as i changed some headers in this rev.
Need to lookup information on NARose items, skills, quests?
Now featuring a newly completed skill tree for all classes
Formatting fixed for different resolutions
Image

"A Gazelle is nothing but a giraffe plotted logarithmicaly"
User avatar
PurpleYouko
Rose Guru
Rose Guru
 
Posts: 4733
Joined: Fri Aug 10, 2007 2:05 pm

Re: Error with compiling.

Postby vze3z5 on Tue Apr 14, 2009 10:26 pm

So PY, we should use 164?
User avatar
vze3z5
Pomic
Pomic
 
Posts: 88
Joined: Sun Apr 05, 2009 6:49 am
Location: PHILIPPINES!!!!

Re: Error with compiling.

Postby rl2171 on Wed Apr 15, 2009 12:12 am

In most cases, the newer builds are better.

The latest 164 osprose is such a build.
Image
rl2171
Admin
Admin
 
Posts: 1706
Joined: Mon Aug 06, 2007 5:17 pm
Location: Sacramento, CA USA - GMT-8

Re: Error with compiling.

Postby PurpleYouko on Wed Apr 15, 2009 2:18 pm

vze3z5 wrote:So PY, we should use 164?

Yeah.
164 compiles properly and has all the latest stuff.
Any earlier versions are inferior
Need to lookup information on NARose items, skills, quests?
Now featuring a newly completed skill tree for all classes
Formatting fixed for different resolutions
Image

"A Gazelle is nothing but a giraffe plotted logarithmicaly"
User avatar
PurpleYouko
Rose Guru
Rose Guru
 
Posts: 4733
Joined: Fri Aug 10, 2007 2:05 pm

Re: Error with compiling.

Postby JDoeBoy on Thu Jun 04, 2009 3:26 am

Ok, I just tried compiling the osprose server for the first time. I used CodeBlocks and had all the plugins installed for it. When I was finnished compiling the world server, I got warnings. Do I worry about warnings or not? I used the svn build 165 that I downloaded today. My warnings are attached.

Thanks
JD
Attachments
myerror.jpg
JDoeBoy
Smoulie
Smoulie
 
Posts: 69
Joined: Fri Apr 10, 2009 12:59 am

Re: Error with compiling.

Postby XxXshidoXxX on Thu Jun 04, 2009 10:47 am

don't worry about it its nothing
My collection ( Tools, clients sources...)
https://mega.nz/#F!AdcFnQDL!sKp3O9tWGGdWvLEj_EYfwA
osrose mobile project
viewtopic.php?f=34&t=5787
OsRose Mobile development + Titan Rose redesign
https://github.com/shid0x
XxXshidoXxX
osiRose dev
osiRose dev
 
Posts: 445
Joined: Mon Aug 27, 2007 11:44 am

Re: Error with compiling.

Postby PurpleYouko on Thu Jun 04, 2009 2:02 pm

Warnings like that are no big deal. It's just letting us know that some not so good type conversions have been used and to be a bit more careful with what we program in future.
It will still run just fine.

I almost always compile with warning messages disabled so i never get these at all.
Need to lookup information on NARose items, skills, quests?
Now featuring a newly completed skill tree for all classes
Formatting fixed for different resolutions
Image

"A Gazelle is nothing but a giraffe plotted logarithmicaly"
User avatar
PurpleYouko
Rose Guru
Rose Guru
 
Posts: 4733
Joined: Fri Aug 10, 2007 2:05 pm


Return to Support - OspRose Emulator

Who is online

Users browsing this forum: No registered users and 7 guests