Forum

ASSIST, AMERICA'S ARMY COMMUNITY - RELIVE THE GLORY DAYS OF AMERICA'S ARMY 2.5

Author Topic: Umake error  (Read 10460 times)

0 Members and 1 Guest are viewing this topic.

Offline LEEFFM

Umake error
« on: Friday, November 07, 2014, 18:02:51 PM »
I'm trying to compile "pickasniper.uc" I keep getting error:
Error in PickASniper.uc (27): 'AGP_Pawn': Bad command or expression
line 27:
Code: [Select]
AGP_Pawn (Other).EmptyInventory () ;how do I fix this?

Offline NoBigDeal

  • Loyal Member
  • ****
  • Posts: 410
  • Banned
    • View Profile
Re: Umake error
« Reply #1 on: Friday, November 07, 2014, 20:42:17 PM »
... remove space between 'AGP_Pawn' and '(Other)'
What if you could change the world by changing your perspective of it?
Would you?

Offline LEEFFM

Re: Umake error
« Reply #2 on: Friday, November 07, 2014, 20:49:34 PM »
ive tried that its not the problem, I get the same error, ive always been able to put spaces before "()" in c++ and java can you not do that in UScript? , I do it to keep my code neat :P

Offline NoBigDeal

  • Loyal Member
  • ****
  • Posts: 410
  • Banned
    • View Profile
Re: Umake error
« Reply #3 on: Friday, November 07, 2014, 20:54:55 PM »
... then you are missing dependency - AP_Pawn is in AGP package.
What if you could change the world by changing your perspective of it?
Would you?

Offline LEEFFM

Re: Umake error
« Reply #4 on: Saturday, November 08, 2014, 12:13:48 PM »
ok so it seems that I was misspelled a few things and I was missing (Pawn Other) after "function PickASniper" , I now have error:
Error in MVHandler.uc (50): 'Split': Bad command or expression
This is line 50
Code: [Select]
Split (Msg, " ", Parts) ;and yes ive tried deleting my spaces between Split and "(" and the space between ")" and ";" :P
can anyone tell me where the split command comes from and why it might be wrong?

I commented out lines to compile so my last to error I get is the one above and I ger this error:
Error in MVHandler.uc (63): Call to 'Broadcast': bad or missing parameter 2
line 63
Code: [Select]
Level.Game.BroadcastHandler.Broadcast (None,$SenderPRI.PlayerName$ " forced himself a " $weapon$" for the next round") ;does anyone know what parameter 2 is supposed to be or why it could be wrong?
« Last Edit: Saturday, November 08, 2014, 12:42:35 PM by LEEFFM »

Offline NoBigDeal

  • Loyal Member
  • ****
  • Posts: 410
  • Banned
    • View Profile
Re: Umake error
« Reply #5 on: Saturday, November 08, 2014, 12:40:38 PM »
... Is in Object ...

... and please, do yourself a favour and use Wotgreal for editing and compiling your stuff...
Right click -> Find Declaration at Cursor
What if you could change the world by changing your perspective of it?
Would you?

Offline LEEFFM

Re: Umake error
« Reply #6 on: Saturday, November 08, 2014, 13:01:36 PM »
Thanks! I found the line I needed to add to Object.uc, That error is gone now but I still get error:
Error in MVHandler.uc (63): Call to 'Broadcast': bad or missing parameter 2
line 63

WOTgreal cannot look up information for "Split" (or any other thing I try to find), I do not use wotgreal for these reasons
1. I cannot import any files into a workspace because the are not relative to it.
2. I cannot open the runtime folder as a workspace.
3.no worksaces + the Find Declaration at Cursor wont work which makes WOTgreal useless to me

but if you know how to make all that work ill gladly use WOTgreal :P

Offline Spanky

  • <?php echo $opinion .' is better.'; ?>
  • Administrator
  • Posts like a Spanky!
  • *
  • Posts: 10,893
    • View Profile
    • NatesComp.com
  • AA: tigobitties
Re: Umake error
« Reply #7 on: Saturday, November 08, 2014, 14:49:30 PM »
Some hardcore UScript programmers love WOTgreal. I didn't like it. Notepad++ does good for just about everything as long as you don't need super efficiency and are getting paid for it.
It's like shaving your pubes to make your junk look bigger.
Might look bigger, but it aint.....

Offline Possessed

  • bWpnRecoil == False;
  • Administrator
  • Epic Poster
  • *
  • Posts: 3,620
  • You suffer, but why?!
    • View Profile
  • AA: Possessed
Re: Umake error
« Reply #8 on: Saturday, November 08, 2014, 14:56:34 PM »
I always used Notepad, deal with it B-)
These things I have spoken unto you, that in me ye might have peace. In the world ye shall have tribulation: but be of good cheer; I have overcome the world.
John 16:33


Offline LEEFFM

Re: Umake error
« Reply #9 on: Saturday, November 08, 2014, 15:56:16 PM »
I like eclipse I know eclipse has a UScript ide too but I still use notepad++ lol

Offline NoBigDeal

  • Loyal Member
  • ****
  • Posts: 410
  • Banned
    • View Profile
Re: Umake error
« Reply #10 on: Saturday, November 08, 2014, 16:27:41 PM »
@Possessed: Can you help me understand the message ...
I always used Notepad, deal with it B-)

@Spanky: Maybe because you really didn't try it ... and Wotgreal is for free. IMO it's a the best IDE for editing, compiling, debugging UScript  - at least for UE2 (UE3 support is in Bets stage and was never finished but it can be used without the problem). Biggest difficulty (for UE3 support and those who never use it before) is to setup Wotgreal environment, after that, you have all you need ...

I like eclipse I know eclipse has a UScript ide too but I still use notepad++ lol
... then why do you ask a simple questions? Anyways, at least use UnDox to convert whole UScript source code to its HTML version so you can track all functions declarations.

In Wotgreal you has already (most important) package tree, class tree, complex search, debugger (not really ...) etc.
« Last Edit: Saturday, November 08, 2014, 16:43:05 PM by NoBigDeal »
What if you could change the world by changing your perspective of it?
Would you?

Offline Spanky

  • <?php echo $opinion .' is better.'; ?>
  • Administrator
  • Posts like a Spanky!
  • *
  • Posts: 10,893
    • View Profile
    • NatesComp.com
  • AA: tigobitties
Re: Umake error
« Reply #11 on: Saturday, November 08, 2014, 17:21:48 PM »
Exactly. It might be a better program but having to set it up and learn it is a pain in the ass and for the little that I use it, Notepad++ does just fine. If I was a dev working on a serious game or doing this for a living (or even knew how to code in UScript) then you NEED efficiency at any cost (cost being time to learn).
It's like shaving your pubes to make your junk look bigger.
Might look bigger, but it aint.....

Offline NoBigDeal

  • Loyal Member
  • ****
  • Posts: 410
  • Banned
    • View Profile
Re: Umake error
« Reply #12 on: Saturday, November 08, 2014, 17:47:36 PM »
Because you using UE2 Runtime, there is not to much too learn ... Just select UDK from Options -> Quick GameType Change and Wot will find it automatically - if not, go to Options -> Preferences -> Game Information and check / set game environment. Anyway, you can always set a new GameType.

Most of the professional (UE based) game developers are using WotGreal - modified version, but still ...
What if you could change the world by changing your perspective of it?
Would you?

Offline Spanky

  • <?php echo $opinion .' is better.'; ?>
  • Administrator
  • Posts like a Spanky!
  • *
  • Posts: 10,893
    • View Profile
    • NatesComp.com
  • AA: tigobitties
Re: Umake error
« Reply #13 on: Saturday, November 08, 2014, 18:24:57 PM »
It can't be that simple since LEEFFM is having problems :) I tried it many years ago and don't think I ever got it to work right. But that's the same with a lot of programs in my past like 3DS MAX. Tried using it, couldn't figure it out, gave up, uninstalled. There needs to be motivation and a way to learn for me otherwise there's no point. I'm a very stubborn individual.
It's like shaving your pubes to make your junk look bigger.
Might look bigger, but it aint.....

Offline TheJohnny

Re: Umake error
« Reply #14 on: Saturday, November 08, 2014, 18:34:21 PM »
Love to see the show going on!

When shall we expect "ownage" vid on YT?

 

Download Assist

×

Download Game Client

Important: Battletracker no longer exists. However, old Battletracker accounts may still work. You can create a new 25Assist account here

Download Server Manager