problem with dll.


(trAnc3) #1

hi all! :frowning:
I have a problems with moving objects in loading!
For example i tried to move TOP SECRET text in cg_loadpanel.c like this:

panel_button_t missiondescriptionPanelHeaderText = {
	NULL,
	"***TOP SECRET***",
	{ [B]20[/B], [B]72[/B], 200, 32 },
	{ 0, 0, 0, 0, 0, 0, 0, 0 },
	&missiondescriptionHeaderTxt,	/* font		*/
	NULL,					/* keyDown	*/
	NULL,					/* keyUp	*/
	BG_PanelButtonsRender_Text,
	NULL,
};

Build all dlls , also has put them in a folder of my mod.Have tried to load a map , and TOP SECRET text is staid on his old place , its not moved like i wanted!and same problem with other objects like progress bar and etc.WHAT i am doing wrong?Thanks , and sorry for my bad english!


(nUllSkillZ) #2

It seems that your mod didn’t start at all.

What have you done?

For example:
Did you create a separate mod folder (like etmain, etpro …)?
Did you start your mod with “+set fs_game MODNAME”?


(trAnc3) #3

YEP like i said b4 “has put them in a folder of my mod”
I made a .bat file that starts my mod.
I had the same problem when i tried to move hud in cg_draw.c .


(trAnc3) #4

I have tried to rename *** TOP SECRET *** in TEXT with out moving it,! but again it has nothing happened!


(Cambodunum) #5

ill give a try later …


(nUllSkillZ) #6

Have you tried your mod in a clean installation (only etmain and your mod folder)?
You could also try “pure 1” in your batchfile.
Do you use etded.exe to start your mod?
You than would have to connect to localhost / 127.0.0.1 (127.0.1.1).


(trAnc3) #7

nUllSkillZ :slight_smile: ,
I have tried with " pure 1 " but nothing has changed. :frowning:
I dont start mod with etded.exe.I dont think that it will help! :confused:
I shall try it now : “only etmain and your mod folder”. :slight_smile:
One month ago before reinstallation of a Windows XP , I changed quantity of bullets in the SMG , made a dll, put it in a folder with mod and all worked! :rolleyes:
I start to think that a problem in mine Visual C ++ 2008 Express Edition! :eek:
Thanks that you help me! :slight_smile:

M|A|D [Cambo] , Thank you! :slight_smile:


(Cambodunum) #8

… its working fine (just changed the text for testing)
… be sure your *.dll’s (cgam… & ui…) are in a *.pk3
… cuz its a “client-side” change / server doesnt read 'em

greetz Cambo


(trAnc3) #9

its must be in .pk3?


(Cambodunum) #10

yupp … cuz your game/server only reads/needs the qagame … the client needs the ui+cgame


(trAnc3) #11

Okey i zip all 3 dll and put them in mod, started mod , typed in console /devmap oasis and TOP SECRET stay like TOP SECRET! didnt changed to TEXT!
I can do some screens what i am doing?


(Cambodunum) #12

have you already started your mod?


(nUllSkillZ) #13

May be it’s an old unchanged dll.
Delete the dll from the subfolder where it’s created with the compiler.
Than rebuild all the dll’s.


(Cambodunum) #14

yupp maybe … and please start your mod via “Mods” menu … then host a game … dont use devmap please

… zip all 3 dll and put them in mod

hopefully youve put the qagame naked in your modfolder xD

greetz Cambo


(trAnc3) #15

CRAZY!Reinstalled my C++ compiler , now all works fine!

So its my small slide tutorial how to make some changes in SDK.

1.Make changes.

2.Build or rebuild solution.

3.Look build dll in ET_SDK folder.

4.Compress them to ZIP and rename zip to pk3.Put it to your MOD folder.

6.Start your MOD.

7.Load MAP.

8.Look at Result!

THANKS to M|A|D [Cambo] & nUllSkillZ for their help!


(nUllSkillZ) #16

Maybe you have to choose rebuild solution instead of only build solution.


(trAnc3) #17

yeah ofcourse!


(trAnc3) #18

Some one know how to instead of loading shows that video, sound as in NQ is loading!


(Cambodunum) #19

uhm … what? (sorry dont understand your question … you wanna add the reloadsound to the loadingscreen?)


(trAnc3) #20

NO!
When on NQ is loading map in progress bar instead of simple LOADING shows that the sound or video or sth else is loading.Something like that: Loading gfx/sound or Loading gfx/video.how to do like that?