Endless-Guide v.2
This forum as just been made please give us time while our staff members work on it we are still lookin for moderators(staffs) please email ''endless-guide@hotmail.com'' for application


The Guide for Endless-Online Players
 
HomeCalendarGalleryFAQSearchMemberlistUsergroupsRegisterLog in
Search
 
 

Display results as :
 
Rechercher Advanced Search
Latest topics
» Ruthless Aggression
Tue Oct 05, 2010 9:21 am by Microchip

» Copycat command
Tue Oct 05, 2010 9:16 am by Microchip

» #title command
Fri Sep 03, 2010 5:49 pm by michael032777

» Rev 187 character creation error
Fri Sep 03, 2010 5:38 pm by michael032777

» Modernwarfare2pwns.no-ip.org
Tue Aug 24, 2010 4:29 pm by artsyfartsy

» Want Hacks for Endless Online? Join EO-Hackers!
Fri Aug 06, 2010 7:48 am by Slymask3

» Want Hacks for Endless Online? Join EO-Hackers!
Wed Aug 04, 2010 11:21 am by Slymask3

» Want Hacks for Endless Online? Join EO-Hackers!
Wed Aug 04, 2010 11:21 am by Slymask3

» Want Hacks for Endless Online? Join EO-Hackers!
Wed Aug 04, 2010 11:21 am by Slymask3

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
Forum
Affiliates
free forum
 

Share | 
 

 eoserv compiling error

Go down 
AuthorMessage
binno
Admin
avatar

Posts : 21
Join date : 2010-03-28
Age : 24
Location : Clarkston,Mi

PostSubject: eoserv compiling error   Tue Mar 30, 2010 8:31 pm

When I compile this is my error.

C:\Documents and Settings\Matt\Desktop\Eoserv 188\src\console.hpp:142: error: invalid conversion from 'unsigned int' to 'const char*'
C:\Documents and Settings\Matt\Desktop\Eoserv 188\src\console.hpp:142: error: initializing argument 1 of 'std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc =std::allocator<char>]

I followed a video guide by digitx and when he compiled it worked perfectly I followed step by step what to do and I got these warning.


Edit:I figured out my problem It says i get the error on line 144 but i don't have a line 144.


/* $Id: console.hpp 175 2009-12-21 23:58:39Z sausage $
* EOSERV is released under the zlib license.
* See LICENSE.txt for more info.
*/

#ifndef CONSOLE_HPP_INCLUDED
#define CONSOLE_HPP_INCLUDED

#include "fwd/console.hpp"

#include <string>

#include "script.hpp"

namespace Console
{

extern bool Styled[2];

#if defined(WIN32) || defined(WIN64)
enum Color
{
COLOR_BLUE = 1,
COLOR_GREEN = 2,
COLOR_CYAN = 3,
COLOR_RED = 4,
COLOR_MAGENTA = 5,
COLOR_YELLOW = 6,
COLOR_GREY = 7,
COLOR_BLACK = 8
};
#else // defined(WIN32) || defined(WIN64)
enum Color
{
COLOR_BLUE = 34,
COLOR_GREEN = 32,
COLOR_CYAN = 36,
COLOR_RED = 31,
COLOR_MAGENTA = 35,
COLOR_YELLOW = 33,
COLOR_GREY = 37,
COLOR_BLACK = 30
};
#endif // defined(WIN32) || defined(WIN64)

enum Stream
{
STREAM_OUT,
STREAM_ERR
};

void Out(std::string f, ...);
void Wrn(std::string f, ...);
void Err(std::string f, ...);
void Dbg(std::string f, ...);

inline void ScriptRegister(ScriptEngine &engine)
{
SCRIPT_REGISTER_GLOBAL_FUNCTION("void Out(string)", Out);
SCRIPT_REGISTER_GLOBAL_FUNCTION("void Wrn(string)", Wrn);
SCRIPT_REGISTER_GLOBAL_FUNCTION("void Err(string)", Err);
SCRIPT_REGISTER_GLOBAL_FUNCTION("void Dbg(string)", Dbg);
}

}

#endif // CONSOLE_HPP_INCLUDED


This is line 1-71 I don't have a line 144.
Back to top Go down
View user profile http://www.modern-warfare2.omgforum.net
binno
Admin
avatar

Posts : 21
Join date : 2010-03-28
Age : 24
Location : Clarkston,Mi

PostSubject: Re: eoserv compiling error   Wed Mar 31, 2010 12:08 pm

I've looked around on [url=http://www.eoserv.net] and people said they get this error with rev 188 but it works with rev 187. So I'm going to try it when I get home.


Last edited by binno on Wed Mar 31, 2010 12:09 pm; edited 2 times in total (Reason for editing : Messed up text)
Back to top Go down
View user profile http://www.modern-warfare2.omgforum.net
binno
Admin
avatar

Posts : 21
Join date : 2010-03-28
Age : 24
Location : Clarkston,Mi

PostSubject: Re: eoserv compiling error   Wed Mar 31, 2010 3:32 pm

I did compile eoserv rev 187
Back to top Go down
View user profile http://www.modern-warfare2.omgforum.net
Sponsored content




PostSubject: Re: eoserv compiling error   

Back to top Go down
 
eoserv compiling error
Back to top 
Page 1 of 1
 Similar topics
-
» 2147287038 error, please help
» -2147287038 (Unspecified Error 0x80030002) I d/c after a few minutes of playing!
» How to compile sourcecode for stockfish?
» Error message when gifting
» Sugar

Permissions in this forum:You cannot reply to topics in this forum
Endless-Guide v.2 :: Softwares :: EOSERV-
Jump to: