Re: [TUTORIAL+CODE]Adding support to RS3 maps in gunz 1.5
Well I followed it and changed the things the way he said to, so how about rather than being a jerk you be helpful or don't even respond kid.Cant stand it when guys like you get an attitude with someone who's very obviously just starting out with editing a source. maybe if you checked the other threads you'd see I'm just now learning about this stuff.
Re: [TUTORIAL+CODE]Adding support to RS3 maps in gunz 1.5
Paste to line 80 after descExt was declared.
Also, mind the attitude.
Re: [TUTORIAL+CODE]Adding support to RS3 maps in gunz 1.5
I apologize for the attitude, I just get so frustrated when I have an issue and someone like him comes in rude for no reason... like I wouldn't ask the question if I hadn't already tried to figure it out myself. I'm a little confused about what you're saying to do with line 80. Do I need to change line 80 to match line 74? (sorry if my question is dumb)
Re: [TUTORIAL+CODE]Adding support to RS3 maps in gunz 1.5
Quote:
Originally Posted by
jetman82
I apologize for the attitude, I just get so frustrated when I have an issue and someone like him comes in rude for no reason... like I wouldn't ask the question if I hadn't already tried to figure it out myself. I'm a little confused about what you're saying to do with line 80. Do I need to change line 80 to match line 74? (sorry if my question is dumb)
Move the code from line 74 to line 80 like so:
PHP Code:
if (m_bCreated) return true;
const char *descExt = "xml";
// Compiler now knows what desxExt points to, considering it reads from top to bottom
m_pBsp = BspLoader::Load(m_szBspName, descExt);
Re: [TUTORIAL+CODE]Adding support to RS3 maps in gunz 1.5
Troy should be more understanding. He's been making hacks for leechers for half a decade now.
Tsk tsk.
Edit -
Jetman, you really need to learn how basic programming works.
Re: [TUTORIAL+CODE]Adding support to RS3 maps in gunz 1.5
Awesome thanks... I have one last question. I applied the #pragma comment(lib, "Interface.lib") to bsploader.cpp, but I still get 5 errors similar to the guys on page 2.
edit: yeah I know I do. I'm able to fix some errors or bypass others (like the f10 crash in my client easily bypassable), I was just frustrated and stuck on this. Besides, you have to fail a thousand times before you get something right, and now that I know what it is I did wrong i can help others who might have trouble as well.
http://i.imgur.com/cl6Aa6O.png
Re: [TUTORIAL+CODE]Adding support to RS3 maps in gunz 1.5
Quote:
Originally Posted by
jetman82
Awesome thanks... I have one last question. I applied the
#pragma comment(lib, "Interface.lib") to bsploader.cpp, but I still get 5 errors similar to the guys on page 2.
MSDN.
Code:
- What the code asks for doesn't exist (the symbol is spelled incorrectly or uses the wrong case, for example)
You didn't add the cpp files.
Quote:
Originally Posted by
jetman82
edit: yeah I know I do. I'm able to fix some errors or bypass others (like the f10 crash in my client easily bypassable), I was just frustrated and stuck on this. Besides, you have to fail a thousand times before you get something right, and now that I know what it is I did wrong i can help others who might have trouble as well.
It's owkay, you're probably new around here, but this whole community has gone to shit due to people having an attitude which is why I pointed that out.
Re: [TUTORIAL+CODE]Adding support to RS3 maps in gunz 1.5
Well, I'm new to the developing scene yes. (oldgen ingame player though) I hate to keep asking questions ik it must be getting annoying.. but i added the cpp's and headers to realspace 2 includes and source folder. am I supposed to add the cpps and headers from the mod/include folder into the gunz folder as well? I do agree horrible attitudes have ruined gunz, it killed the gladiator gamemode.
Re: [TUTORIAL+CODE]Adding support to RS3 maps in gunz 1.5
Quote:
Originally Posted by
jetman82
Well, I'm new to the developing scene yes. (oldgen ingame player though) I hate to keep asking questions ik it must be getting annoying.. but i added the cpp's and headers to realspace 2 includes and source folder. am I supposed to add the cpps and headers from the mod/include folder into the gunz folder as well? I do agree horrible attitudes have ruined gunz, it killed the gladiator gamemode.
They should be added to the solution that you were working in (drag / drop).
Re: [TUTORIAL+CODE]Adding support to RS3 maps in gunz 1.5
I added all the files to the gunz solution and I'm still getting the error :/
Re: [TUTORIAL+CODE]Adding support to RS3 maps in gunz 1.5
Quote:
Originally Posted by
jetman82
I added all the files to the gunz solution and I'm still getting the error :/
Search for CustomMap::OnReset throughout the entire solution and see if it comes up with a result (CTRL + F).
Re: [TUTORIAL+CODE]Adding support to RS3 maps in gunz 1.5
CustomMap::OnLost();
HRESULT hr=g_pd3dDevice->Reset(&g_d3dpp);
CustomMap::OnReset();
both are inside realspace2.cpp
update: It seems like my source is generating corrupted obj's, I'm going to try it on my main source and ill post the results afterwards.
Re: [TUTORIAL+CODE]Adding support to RS3 maps in gunz 1.5
Quote:
Originally Posted by
jetman82
CustomMap::OnLost();
HRESULT hr=g_pd3dDevice->Reset(&g_d3dpp);
CustomMap::OnReset();
both are inside realspace2.cpp
update: It seems like my source is generating corrupted obj's, I'm going to try it on my main source and ill post the results afterwards.
Remove the corrupted .obj files or force a rebuild? (Build > rebuild from the menubar)
Re: [TUTORIAL+CODE]Adding support to RS3 maps in gunz 1.5
Quote:
Originally Posted by
Solaire
Remove the corrupted .obj files or force a rebuild? (Build > rebuild from the menubar)
Removed the corrupted objs and forced a rebuild, still the same 5 errors. Extremely confused and frustrated.... I can't believe I can't get this to work.
Re: [TUTORIAL+CODE]Adding support to RS3 maps in gunz 1.5
Quote:
Originally Posted by
jetman82
Removed the corrupted objs and forced a rebuild, still the same 5 errors. Extremely confused and frustrated.... I can't believe I can't get this to work.
I can't think of anything else for now. Drop me a PM with contact info (Skype / Steam) and I'll help you out over TeamViewer tomorrow. Not sure when I'll be available, you might have to ask 2 or 3 times as I'm mostly busy.