PDA

View Full Version : newcoder need help ...


MP-HaXz0rZ
27th July 2006, 23:02
Hi all im a new be ...

i want to learn to code .u-files ... i watched long while .. but doesnt found a good topic ...

on some Unreal pages fund i an tut ... but it would not working ... there was no error or warning masseage nothing ... i tryed first the heelo world mutator ... i tested and tested and nothing

can some on help me how i code & compile an class with functions and events - i can VB6 and a bit C++ ...

thx 4 help

JohnDeere6996
28th July 2006, 01:59
Do u have a SDK to compile your .u files?

MP-HaXz0rZ
28th July 2006, 02:26
no were can i got it ?

KizZamP-
28th July 2006, 09:41
it seems you want to do c++ / native coding ? well you don't have the sdk,so no,that wouldn't work...
you want to do uscript ? find the sdk,glogg posted it somewhere,but the link isn't working anymore since the defacement.

MP-HaXz0rZ
28th July 2006, 10:47
C++ maybe but first only .u scripting ...

i've VS6 i maked some dll vor VB6, i think it musst be the same way to make a dll for R6 ...

i would search this thread ... if i got problemes or not i would post it

thx

http://www.mpcforum.com/showthread.php?t=85261

I founded this thread ... but the link work ...

if it isnt the SDK wich i need ... can u post the full name ?

Ty HaXz0rZ

JohnDeere6996
28th July 2006, 17:56
yes that is the sdk and here in the instructions on how to set it up :



Compiling an *.u file from *.uc


Copy your whole Raven Shield Folder.
Go to your new \\RavenShield an create a folder \\RavenShield\HackName.
Create the folders Classes and Textures in \\RavenShield\HackName.
Go to \\RavenShield\HackName and create a new .txt file with:

cd..
cd system
del Core.u
del Engine.u
del Editor.u
del IpDrv.u
del R6Abstract.u
del R6Engine.u
del R6Weapons.u
del R6Game.u
del HackName.u
UCC.exe make
pause

Save the file and rename it to Compiler.bat.

Go to \\RavenShield\system and open RavenShield.ini and search for the EditPackages= lines.
Replace them with

EditPackages=Core
EditPackages=Engine
EditPackages=Editor
EditPackages=IpDrv
EditPackages=R6Abstract
EditPackages=R6Engine
EditPackages=R6Weapons
EditPackages=R6Game
EditPackages=HackName

and save it.

Now copy all folders of the SDK (Download it here) into \\RavenShield.

Put the .uc files into \\RavenShield\HackName\Classes and the textures as .bmp files into \\RavenShield\HackName\Textures.
===> The textures have to be .bmp files with 8bit (256 colors).

Start the Compiler.bat. When the compiler asks you to overwrite a header file (*.h) say always no --> type n and enter.

If you have errors try to fix them. It's mostly easier as you think. ^^

Remember: HackName must always be the same!


that is the instructions i was given along with the same sdk.

MP-HaXz0rZ
29th July 2006, 04:08
ty 4 help :)

i tested it with out adding a packet u runned the bat after a short moment and then ....

nothing

D:\NeuerOrdner>cd D:\NeuerOrdner\KopievonRVS\system

D:\NeuerOrdner\KopievonRVS\system>del Core.u

D:\NeuerOrdner\KopievonRVS\system>del Engine.u

D:\NeuerOrdner\KopievonRVS\system>del Editor.u

D:\NeuerOrdner\KopievonRVS\system>del IpDrv.u

D:\NeuerOrdner\KopievonRVS\system>del R6Abstract.u

D:\NeuerOrdner\KopievonRVS\system>del R6Engine.u

D:\NeuerOrdner\KopievonRVS\system>del R6Weapons.u

D:\NeuerOrdner\KopievonRVS\system>del R6Game.u

D:\NeuerOrdner\KopievonRVS\system>UCC.exe make
--------------------Checking file dates--------------------
Finished in 0.000233.2 s
Success - 0 error(s), 0 warnings

D:\NeuerOrdner\KopievonRVS\system>pause
Drücken Sie eine beliebige Taste . . .

it doesnt created any .u file wich was delete ...
could it be the ucc version

KizZamP-
29th July 2006, 09:45
You can't compile with 1.60...
you need 1.56 SDK (as in that thread,that is exactly what i meant)...
but that link is down,so better hope someone will post it for you ;)

MP-HaXz0rZ
29th July 2006, 15:15
oh i tought it ...


mhhh ....

i use the sdk wic was edited 06.02.2005
after comiling with 1328 warnings ... got i an runtime error i used the full install version with patch 1.56

most packegs had an nother filesize after compiling ...

i just koiped the fulll RVS folder and added the folderes from SDK into the RVS folder i think some files ar not correct

so i killed all del commands in the bat (i thougt if the file is compiled the comiler jump to next package) the .u files wich works was delete ...

i'm a german could it be that i've the wrong language version ?

JohnDeere6996
8th August 2006, 19:34
Haxzorz check your private messages.

C++ maybe but first only .u scripting ...

i've VS6 i maked some dll vor VB6, i think it musst be the same way to make a dll for R6 ...

i would search this thread ... if i got problemes or not i would post it

thx

http://www.mpcforum.com/showthread.php?t=85261

I founded this thread ... but the link work ...

if it isnt the SDK wich i need ... can u post the full name ?

Ty HaXz0rZ


That is the 1.56 SDK, its just missing the 1.56 system folder becasue if u look here "RavenShield SDK\core\Classes". all the class files have a mod date of 2/21/2004

I tested it and my bot compiled with no errors or warnings with the bat file containing just :


ucc.exe make
pause

ALBerT
9th August 2006, 03:53
I released this compiler thingy ages ago, and frikos made some nice revisions to it if u wanna check it out. Although im thinking we are flogging a dead horse here.

http://www.mpcforum.com/showthread.php?t=126136