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
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
Endless-Guide v.2
Would you like to react to this message? Create an account in a few clicks or log in to continue.


The Guide for Endless-Online Players
 
HomeGalleryLatest imagesSearchRegisterLog in
Search
 
 

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

» Copycat command
eoserv compiling error Icon_minitimeTue Oct 05, 2010 9:16 am by Microchip

» #title command
eoserv compiling error Icon_minitimeFri Sep 03, 2010 5:49 pm by michael032777

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

» Modernwarfare2pwns.no-ip.org
eoserv compiling error Icon_minitimeTue Aug 24, 2010 4:29 pm by artsyfartsy

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

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

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

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

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
Forum
Affiliates
free forum
 

 

 eoserv compiling error

Go down 
AuthorMessage
binno
Admin
binno


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

eoserv compiling error Empty
PostSubject: eoserv compiling error   eoserv compiling error Icon_minitimeTue 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
http://www.modern-warfare2.omgforum.net
binno
Admin
binno


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

eoserv compiling error Empty
PostSubject: Re: eoserv compiling error   eoserv compiling error Icon_minitimeWed 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
http://www.modern-warfare2.omgforum.net
binno
Admin
binno


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

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

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





eoserv compiling error Empty
PostSubject: Re: eoserv compiling error   eoserv compiling error Icon_minitime

Back to top Go down
 
eoserv compiling error
Back to top 
Page 1 of 1
 Similar topics
-
» Eoserv guide
» eoserv trunk
» Rev 187 character creation error
» EOSERV players #nowall glitch

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