Apocalypse error

All Helbreath Server Source Discussion here.
Post Reply
kokodriloz
Regular
Posts: 56
Joined: Thu Jan 04, 2007 4:27 am

Post by kokodriloz »

i have this error:

G:\Documents and Settings\Administrador\Escritorio\HB ROX Sources\heldenian\Game.cpp(52277) : error C2664: 'bCreateNewNpc' : cannot convert parameter 10 from 'int *' to 'struct tagRECT *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast


:S, 1 error to fix apoca

some 1 can help.??
Acidx
Member
Posts: 198
Joined: Tue Mar 23, 2004 4:27 am

Post by Acidx »

kokodriloz wrote: i have this error:

G:\Documents and Settings\Administrador\Escritorio\HB ROX Sources\heldenian\Game.cpp(52277) : error C2664: 'bCreateNewNpc' : cannot convert parameter 10 from 'int *' to 'struct tagRECT *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast


:S, 1 error to fix apoca

some 1 can help.??
Lmao dude it tells you right there how to fix it...
First i suggest buy a book and learn to code..
Here ill explain it so you can understand it...

convert parameter 10 from 'int *' to 'struct tagRECT

so its the call you have going on ->bCreateNewNpc, The 10th Param. is an Int * and it cannot convert it to a Struct tagRect *....
It tells you exactly what you need to do..

conversion requires reinterpret_cast, C-style cast or function-style cast

So go figure...
<b>-<span style='color:green'>ACiD-x </span><span style='color:red'> Owning PCs Since 1987</span><br><img src='http://img204.imageshack.us/img204/2245/hackertf5.gif' border='0' alt='user posted image' /><br><img src='http://img509.imageshack.us/img509/6697 ... 4sc4ed.png' border='0' alt='user posted image' /><br><span style='color:orange'>i am Pwn NetGAYLORDS !</span></b><br><span style='color:blue'><br>I Pwn HBUSA =)</span>
kokodriloz
Regular
Posts: 56
Joined: Thu Jan 04, 2007 4:27 am

Post by kokodriloz »

thnx man, but im not coder and dont wanna buy a book.. i dont know what to do. Thnz any wz

:S
Sprint
Spamtastic
Posts: 1000
Joined: Tue Jun 06, 2006 6:59 am
Location: Far from home
Contact:

Post by Sprint »

lol try google it and there are many online books to learn to code :)
<span style='color:blue'><span style='font-size:19pt;line-height:100%'><u><b>FUCK Helbreath!</b></u></span></span><br><br><span style='color:gray'><a href='http://www2.analystica.com/users/anttu/online/ngd' target='_blank'>ngdnetwork</a> OFFICIAL WEBSITE OF Northern Game Developers. Do visit! (THEY ARE UP!)<br><a href='http://project3d.x.am' target='_blank'>Project3d development forum</a> plz join and discuss,develop,give ideas,feedback. Anything goes as long it helps the project!</span><br><br>Zepto Znote 6625WD: 1.8Ghz dual core, 2GB, 512mb graphics card(dedicated), 160GB HDD<br><img src='http://www.signaturebar.com/uploads/images/10111.jpg' border='0' alt='user posted image' /><br><img src='http://www.signaturebar.com/uploads/images/13229.jpg' border='0' alt='user posted image' /><br><img src='http://www.signaturebar.com/uploads/images/8852.png' border='0' alt='user posted image' />
Post Reply