Welcome to destination Unreal
Please sign in Here or Register
warning  Welcome to destination Unreal, To access all areas of this site please register an account by clicking here now. warning


Recent Topics   Next 6 >>  
 Forum   Author   Replies   Last Post 
Going to get this off my chest once and for all... Introduce Yourself hjerte 3 Tue Dec 18, 2018 2:40 am
hjerte View latest post
PLEASE EXPLAIN SO WE ALL KNOW WHAT NOT TO DO UT99 MonsterHunt Main Server DEXIE 11 Mon Dec 17, 2018 10:48 pm
DEXIE View latest post
Ack! BATS!!!!! General Discussion EvilGrins 2 Mon Dec 17, 2018 5:27 pm
BangBang View latest post
To the Admins: Jess64 and Jej64 Rudeness UT99 MonsterHunt Main Server Merowinger 9 Wed Nov 21, 2018 6:19 pm
seth1 View latest post
Banned from Main server Sad please help UT99 MonsterHunt Main Server HeadShot 4 Tue Oct 30, 2018 8:07 pm
HeadShot View latest post
Teamkill and Kidding , ever and ever General Server Chat or Problems blackcrack 13 Wed Oct 17, 2018 4:40 pm
blackcrack View latest post

Compile Error - Custom Script vs MonsterShadow

Post new topic   Reply to topic       printer-friendly view
destination Unreal Forum Index Mods, UScript and General Coding
View previous topic :: View next topic 
Author Message
Chamberly usa.png

UT Name: Dame. Vandora UT Since: 2011 Gender: Gender:Female
Joined: Jul 15, 2014
Age: 28
Posts: 30
Location: Vandora's Temple
Reputation: 49
Status: Offline
View user's profile

Send private message

PostPosted: Thu Apr 12, 2018 12:29 am
PostPost subject:No icon Compile Error - Custom Script vs MonsterShadow
Reply with quote

Does anyone know any idea to get around this or what causes this?

I was compiling a new subclass and when finished, it doesn't complete as this MonsterShadow comes up with an error, preventing me to finish a custom script.

The script I wrote is fine in a standalone vanilla map. But when MonsterHunt.u was there, this MonsterShadow error steps in the way.

I tried to copy the original from the standalone vanilla map and paste it but it didn't work.

The custom script I made is dependent on a .u file, so I only know how to MyLevel it but not how to make it an individual file (Which I guess it'll make mismatch or something).

Tinypic link:
Please login to see this link
Get registered or Log in

*I tried uploading on the forum but got the errors.

Edit: Just got the memo and it's rather late: Don't load MH.u b4 having to code. Load MH.u last and use Higor's build. Oh well.
Back to top Visit poster's website Visit member's Facebook: chamberly
Cyberia-Mix france.png


UT Name: Demona UT Since: 2000
Joined: Dec 12, 2010
Posts: 535
Location: irc://irc.epiknet.org/2LO
Reputation: 255.5
votes: 9
Status: Offline
View user's profile

Send private message

PostPosted: Tue May 08, 2018 11:43 am
PostPost subject:No icon Re: Compile Error - Custom Script vs MonsterShadow
Reply with quote

I'm late but to complete the answer, scripts can't be compiled if MonsterHunt.u is loaded (its source code was erased from the .u by the author to prevent edits, UEd checks every loaded scripts and fails).

If you're scripting in UEd, a workaround is to script and compile in a side map where MonsterHunt.u isn't loaded.
If the script is in a .u file you then open it normally from the MH map.
If the script is in MyLevel, save your side map, then open the MH map in the same UEd instance where you compiled and saved, place whatever actor uses the script in the MH map, save and exit (make sure you don't have any other UEd instance with the MH map open or it will prevent saving, iirc - i always check date of modification after saving to make sure).

If you have to modify your MyLevel script, delete the actors that use it from the MH map (or any reference to it, like the prototype of a creature factory etc.), save and exit. Then repeat the above process.

I don't know what Higor's build is but since he's a great programmer his solution may be more convenient. : )
Back to top Visit poster's website
Display posts from previous:

Post new topic   Reply to topic    printer-friendly view
destination Unreal Forum Index   Mods, UScript and General Coding
Page 1 of 1
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Related topics
 Topics   Replies   Author   Views   Last Post 
No new posts My Last Map 8 THUNDERBOLT 1104 Fri May 25, 2018 6:22 am
EvilGrins View latest post
No new posts Memorable Errors 3 -POTS- 537 Mon Dec 05, 2016 2:44 am
DarkBeemo View latest post
No new posts Adv. Night last part, 1 Terraniux 1565 Mon Feb 28, 2011 6:34 am
annabella View latest post
No new posts Last chance to save maps from delete!! 50 BlackWolf 11098 Fri Feb 25, 2011 10:37 pm
Cyberia-Mix View latest post
No new posts MH-EA Last Lives 8 EA_Elemental 2293 Tue Nov 09, 2010 6:22 pm
EA_Elemental View latest post

Theme designed and coded by PHPNuke Themes © All times are UTC + 2 Hours [DST enabled]
Forums ©

Spambot Killer
Site Map

[News Feed] [Forums Feed] [Downloads Feed] [Web Links Feed] Powered by HTML Purifier[Validate robots.txt]

PHP-Nuke Copyright © 2006 by Francisco Burzi.
All logos, trademarks and posts in this site are property of their respective owners, all the rest © 2006 by the site owner.
Powered by Nuke Evolution 2.0.7 - Nuke-Evolution Xtreme 2.0 Edition.

[ Page Generation: 0.15 Seconds | Memory Usage: 9.17 MB | DB Queries: 75 ]

Do Not Click [ Home | Forums | Downloads | Contact Us | Back To Top ]