• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Compile error

Na Amigo

The crazy girl
Joined
Jun 5, 2017
Messages
254
Solutions
3
Reaction score
17
Location
Egypt
I get this error and do not know what the reason is i am compiling with sitan dev cpp
Code:
 C:\Users\amr\Desktop\my source\combat.cpp In member function `bool Combat::getMinMaxValues(Creature*, Creature*, CombatParams&, int32_t&, int32_t&) const':
108 C:\Users\amr\Desktop\my source\combat.cpp [Warning] converting to `int' from `const double'
215:7 C:\Users\amr\Desktop\my source\databasepgsql.cpp [Warning] no newline at end of file
C:\Users\amr\Desktop\my source\itemattributes.cpp In member function `void ItemAttribute::serialize(PropWriteStream&) const':
308 C:\Users\amr\Desktop\my source\itemattributes.cpp [Warning] passing `float' for converting 1 of `void PropWriteStream::addLong(uint32_t)'
18 C:\Users\amr\Desktop\my source\otpch.h:41,               from ..\my source\otpch.cpp In file included from ../my source/otpch.h:41,               from ../my source/otpch.cpp
18 C:\Users\amr\Desktop\my source\otpch.cpp                  from ../my source/otpch.cpp
141:19 C:\Users\amr\Desktop\my source\thing.h [Warning] no newline at end of file
80:2 C:\Users\amr\Desktop\my source\protocolold.cpp [Warning] no newline at end of file
80:2 C:\Users\amr\Desktop\my source\protocolold.cpp [Warning] no newline at end of file
80:2 C:\Users\amr\Desktop\my source\protocolold.cpp [Warning] no newline at end of file
 
I get this error and do not know what the reason is i am compiling with sitan dev cpp
Code:
 C:\Users\amr\Desktop\my source\combat.cpp In member function `bool Combat::getMinMaxValues(Creature*, Creature*, CombatParams&, int32_t&, int32_t&) const':
108 C:\Users\amr\Desktop\my source\combat.cpp [Warning] converting to `int' from `const double'
215:7 C:\Users\amr\Desktop\my source\databasepgsql.cpp [Warning] no newline at end of file
C:\Users\amr\Desktop\my source\itemattributes.cpp In member function `void ItemAttribute::serialize(PropWriteStream&) const':
308 C:\Users\amr\Desktop\my source\itemattributes.cpp [Warning] passing `float' for converting 1 of `void PropWriteStream::addLong(uint32_t)'
18 C:\Users\amr\Desktop\my source\otpch.h:41,               from ..\my source\otpch.cpp In file included from ../my source/otpch.h:41,               from ../my source/otpch.cpp
18 C:\Users\amr\Desktop\my source\otpch.cpp                  from ../my source/otpch.cpp
141:19 C:\Users\amr\Desktop\my source\thing.h [Warning] no newline at end of file
80:2 C:\Users\amr\Desktop\my source\protocolold.cpp [Warning] no newline at end of file
80:2 C:\Users\amr\Desktop\my source\protocolold.cpp [Warning] no newline at end of file
80:2 C:\Users\amr\Desktop\my source\protocolold.cpp [Warning] no newline at end of file

Bugged source code?
Have you compiled / edited it before?
 
What version?
Guessing it's 0.x since you use dev c++, but if you use ex 0.4 3777 or 3884 you can find plenty of diffrent versions on github / otland etc
Where did you get the code?
can you enter with teamviwer to see everything

What version?
Guessing it's 0.x since you use dev c++, but if you use ex 0.4 3777 or 3884 you can find plenty of diffrent versions on github / otland etc
Where did you get the code?
forgotten server0.3.7_svn
 
Last edited by a moderator:
I script in lua for 0.3.7
I'm also not your employee, stop tagging me. ._.

My only suggestion would be to use google, or the search function to try to solve the issue on your own..
Or wait for replies.
i am not asking for employee just asking for little help thank you :)
 
Back
Top