Duke4.net Forums: Mapster32 problems and bugs - Duke4.net Forums

Jump to content

  • 42 Pages +
  • « First
  • 14
  • 15
  • 16
  • 17
  • 18
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Mapster32 problems and bugs  "Please post them exclusively here"

User is offline   Micky C 

  • Honored Donor

#451

How do I make it in mapster so it isn't so dark? I'm working in some large areas at the moment and I can't see a thing! r_shadescale doesn't do anything either :)
0

User is offline   Helixhorned 

  • EDuke32 Developer

#452

Try tweaking the gamma with F11.
1

User is offline   Micky C 

  • Honored Donor

#453

Hmm not quite the effect I was after Posted Image

I want to get rid of the darkness in the distance, the same thing which moving the ambient light slider would do in eduke32.

Edit: nevermind, a google search revealed this piece of information to me:

Quote

press alt + ctrl + numpad +/- to change the ambient light level in mapster


This post has been edited by Micky C: 08 July 2011 - 04:22 AM

0

#454

I'm pretty sure i saw how to toggle that in the mapster.con?
0

User is offline   Kyanos 

#455

Almost every time I try to minimize or just lose the focus on mapster it crashes!!!
I have read as much as I could on this and can't quite figure it out.

If I use Alt Tab, or press the Windows key, (or ~ to open console and free the mouse then minimize or just click taskbar and open another program) it crashes, aka (not responding), say %95 of the time. Sometimes even freezing the mouse forcing me to Ctrl - Alt - Del and close via keyboard.

The only thing I can run that isn't mapster32 is (via test mode) eduke32. When I come back to mapster the window is all white until I press esc. This sometimes crashes also %5. I am new to this and NEED to look things up from time to time (like always.)

I wish I could just minimize it!!!

p.s. I am running Windows 7 Home SP1 on a laptop
Windows changes video mode to run Mapster32 from ? to Windows 7 Basic
I run mapster in 1024 x 600 reolution (3d mode 32bpp)
Anytime I quit mapster I get a pop up message stating that it is has stopped working and asks if I want to close. (is this normal?) Then switches back video mode.

My Mapster32.log

This post has been edited by Drek: 09 July 2011 - 12:20 PM

0

User is offline   Helixhorned 

  • EDuke32 Developer

#456

View PostDrek, on 09 July 2011 - 12:19 PM, said:

Almost every time I try to minimize or just lose the focus on mapster it crashes!!!

That's a known issue that appears to happen only on Windows 7. Is that a 64-bit OS? Also, do you get a mapster32.crashlog file (it might be called eduke32.crashlog, IIRC)?

I deleted the other loose thread, because this is the right place to post it.
0

User is offline   Kyanos 

#457

To answer your ?'s Yeah 64-bit & No not truly a "crash" so no crashlog file.
Doing some testing with my screen resolution (lowering to 800 x 600) before starting mapster... looks promising.

This post has been edited by Drek: 09 July 2011 - 08:18 PM

0

User is offline   Kyanos 

#458

Ok, so after a few hours of testing with different resolution combinations for my monitor and Mapster, and repeating this crash / freeze what seems like a hundred times I have a "fix"!!!!!
Mapster does not like the new Windows 7 feature Aero. This was causing the crash. When Mapster switches to 3d mode the Windows 7 Basic color scheme is opened. At this point issues start to crop up when leaving Mapster and running any other program as Aero turns back on and Mapster freezes (not responding.)

So my fix is. Turn Windows 7 Basic color on manually before running Mapster to prevent Aero from coming back to interfere with Mapster. I recommend this for any Windowed Game if you need higher performance. Aero uses a full gig of ram :)

OR > "I wrote" a fix. This will turn on Basic color, close the personalization window, then start Mapster32.exe
Open Notepad and copy these scripts
1st. Save this one as ChangeToBasic.vbs
Set Ws = WScript.CreateObject("WScript.Shell")
Ws.Run "rundll32.exe %SystemRoot%\system32\shell32.dll,Control_RunDLL %SystemRoot%\system32\desk.cpl desk,@Themes /Action:OpenTheme /file:""%WinDir%\Resources\Ease of Access Themes\basic.theme"""
Wscript.Sleep 1000
Ws.AppActivate("Desktop Properties")
Ws.Sendkeys "%FC"
Ws.Sendkeys "{F4}"

2nd. Save this one as Win7Mapster.js
var WindowStyle_Hidden = 0
var objShell = WScript.CreateObject("WScript.Shell")
var result = objShell.Run("cmd.exe /c ChangeToBasic.vbs", WindowStyle_Hidden)
var result = objShell.Run("cmd.exe /c mapster32.exe", WindowStyle_Hidden)

Run via Win7Mapster.js (with both files in your Mapster Directory.)
Still get occasional freezing on too many Alt - Tabs (did u know Alt + Tab was a command in Build??) or using the Windows button like everyone else.
I recommend > 2D mode > use ~ to open the console and free the mouse > DO NOT minimize Mapster.
And always save, just in case. :P

EDIT: You can use parts of that java code to make a batch-like file that will start Mapster with parameters you want, without opening the command prompt window.
Example: Change the line that calls mapster32.exe to something like this to open your map. (this will start mapster in The Red Light District)
var result = objShell.Run("cmd.exe /c mapster32.exe E1L2.map", WindowStyle_Hidden)


This post has been edited by Drek: 11 July 2011 - 04:03 AM

0

User is offline   Micky C 

  • Honored Donor

#459

Does the fix really work? The fact that mapster in 3D mode disables windows aero is an intentional feature that fixes some problems with ATI cards while simultaneously gives a slight increase in rendering performance.
0

User is offline   Kyanos 

#460

View PostMicky C, on 09 July 2011 - 10:06 PM, said:

Does the fix really work? The fact that mapster in 3D mode disables windows aero is an intentional feature that fixes some problems with ATI cards while simultaneously gives a slight increase in rendering performance.


Yes the above method really does work (most of the time) Mapster was correct to disable Aero during 3d mode, but It really screws things up when Aero gets turned back on by another program while mapster is running in any mode. I would like to see a (P)ause option put in that is similar to what happens when (T)est is run. Eduke3d seems to be the only thing that will run %100 of the time without freezing Mapster (only via (T)est)

This post has been edited by Drek: 11 July 2011 - 04:09 AM

1

User is offline   Helixhorned 

  • EDuke32 Developer

#461

Seems a bit wasteful to add a feature just to work around a bug...
But you already found the solution: Mapster32 has the option to pass additional parameters to EDuke32 when testing maps (set with 'testplay_addparam'), so what you could do is to pass something that will keep EDuke32 running but won't actually burn CPU cycles during that. My suggestion is to pass a clearly non-CON file to the -x option, so that you get an error box which you simply cancel when done with the stuff outside Mapster.
0

User is offline   Danukem 

  • Duke Plus Developer

#462

Switch statements seem to be broken in m32 script. I think this may be a known bug, but I'm reporting my particular problem with it just in case it isn't.

defstate convertquakis

set i 3622
whilevarn i 3779
{
	switch i
	case 3622 set j 3919 break
	case 3623 set j 3685 break
	default set j -1 break
	endswitch
	add i 1
}

ends


With that state I get this error report:

Quote

enlightenconvert.m32: In state `convertquakis':
enlightenconvert.m32:318: error: multiple `default' statements found in switch
default set j -1 break
|------>*

--- Found 1 errors.


EDIT: Yeah switches are broken and it's not just the default case thing. Even when they compile they don't seem to do anything.

EDIT2: nvm this one was my bad

EDIT3: And now I find that nested states do not work either. Or maybe they work but the value of i (or whatever variable is getting incremented) gets lost when entering the state. Fuck.
0

User is offline   Helixhorned 

  • EDuke32 Developer

#463

Yeah, the 'breaks' out of switches in m32script are broken, and it's "documented" in a.m32:

(line 205)
        switch k
  // "break" breaks too far or there's something wrong with the switch -- needs to be looked at
//        case 0: break;
        case 1:
        {


The 'default' keyword is entirely untested.
But seeing people making serious use of the scripting system gives me some incentive to finally fix it for good!
0

User is offline   Danukem 

  • Duke Plus Developer

#464

How can I make an m32 script load AND make it run a particular state using only command lines? I would like this because it's hard to get mappers to type "include blah blah" and then "do blah blah" in the console. I wouldn't mind making some sophisticated mapping helper scripts for my mods, but I will have much more success in getting people to use them if they don't have to type stuff in the console.

Speaking of the console, I just noticed that recent console entries are saved between sessions and you can cycle through them with the arrow keys. Nice.
0

User is online   Hendricks266 

  • Weaponized Autism

  #465

When I was dumping sounds, I was thinking about what a good way would be to run my script through a number of maps (open map, enter 3D mode, enter 2D mode, next map) would be, and I almost wrote a program to automate the keystrokes if it wasn't for the fact that both Enter and KPEnter appear to have the same Windows Virtual Key code.
0

User is offline   Helixhorned 

  • EDuke32 Developer

#466

View PostDeeperThought, on 02 August 2011 - 09:42 AM, said:

How can I make an m32 script load AND make it run a particular state using only command lines? I would like this because it's hard to get mappers to type "include blah blah" and then "do blah blah" in the console. I wouldn't mind making some sophisticated mapping helper scripts for my mods, but I will have much more success in getting people to use them if they don't have to type stuff in the console.

Speaking of the console, I just noticed that recent console entries are saved between sessions and you can cycle through them with the arrow keys. Nice.

m32_autoexec.cfg is likely to help you with the first problem. Since I foresaw the reluctance of mappers to type in stuff at the console, there's osd_tryscript (in mapster32.cfg), which makes the 'do' OSD command redundant. As an added bonus, you don't even need to type 'state' then, but only when issuing commands from the OSD. Oh well, but these cute hacks are made insignificant by r1955 anyway...

View PostHendricks266, on 02 August 2011 - 10:30 AM, said:

When I was dumping sounds, I was thinking about what a good way would be to run my script through a number of maps (open map, enter 3D mode, enter 2D mode, next map) would be, and I almost wrote a program to automate the keystrokes if it wasn't for the fact that both Enter and KPEnter appear to have the same Windows Virtual Key code.

Here, pk_quickmapcycling might help. When it's enabled, Ctrl-(Shift-)X loads the next (previous) map in a directory, so combined with a keystroke for a certain m32script state (installed into EVENT_KEYS2D) it's possible to tweak the maps to your heart's content at least semi-automatically. Together with Ctrl-S that makes three keystrokes per map.
edit: suggestion: Ctrl-D, I think that's not taken by anything.
0

User is offline   Danukem 

  • Duke Plus Developer

#467

View PostHelixhorned, on 03 August 2011 - 10:56 AM, said:

Oh well, but these cute hacks are made insignificant by r1955 anyway...


Thank you!! That will be a big help. Now I just need to actually write the code...
0

User is offline   Danukem 

  • Duke Plus Developer

#468

@Helixhorned: I can't get printext16 or quote commands to work in 3D mode. Are they supposed to? Those commands work fine in the 2D events, but they do nothing visible for me in EVENT_KEYS3D. I can put stuff in the log in the same block of code, so I know it is being executed, but nothing shows up on screen. I have tried various x y coordinates but it doesn't help.
0

User is offline   Micky C 

  • Honored Donor

#469

Helix I know you said to report it when a map gets corrupted, but usually it happens when I'm on a mapping roll, and if I do anything other than map during this period, it breaks the flow.

However I tried inserting a point on a wall, and it immediately crashed the program. So now I have nothing better to do than report it :)
Edit: it happened twice on the same wall, the second time I used the mapster32 debug exe and produced the following crashlog. There's really nothing else I can tell you, so if you think it warrants further investigation, I guess I'll have to send you my map and point out the wall.


0x465343 : C:\Users\Alan\Desktop\WGR2_SIEGEBREAKER_200\mapster32.debug.
exe : Z:\var\www\synthesis\eduke32\eduke32\build/src/build.
c (9319) : in function (AlignWalls) 
0x465461 : C:\Users\Alan\Desktop\WGR2_SIEGEBREAKER_200\mapster32.debug.
exe : Z:\var\www\synthesis\eduke32\eduke32\build/src/build.
c (9331) : in function (AlignWallPoint2) 
0x45e2a2 : C:\Users\Alan\Desktop\WGR2_SIEGEBREAKER_200\mapster32.debug.
exe : Z:\var\www\synthesis\eduke32\eduke32\build/src/build.
c (7316) : in function (insertpoint) 
0x45b741 : C:\Users\Alan\Desktop\WGR2_SIEGEBREAKER_200\mapster32.debug.
exe : Z:\var\www\synthesis\eduke32\eduke32\build/src/build.
c (6390) : in function (overheadeditor) 
0x4470a0 : C:\Users\Alan\Desktop\WGR2_SIEGEBREAKER_200\mapster32.debug.
exe : Z:\var\www\synthesis\eduke32\eduke32\build/src/build.
c (618) : in function (app_main) 
0x4f5956 : C:\Users\Alan\Desktop\WGR2_SIEGEBREAKER_200\mapster32.debug.
exe : Z:\var\www\synthesis\eduke32\eduke32\build/src/winlayer.
c (494) : in function (WinMain@16) 
0x538046 : C:\Users\Alan\Desktop\WGR2_SIEGEBREAKER_200\mapster32.debug.
exe : main.c 
0x4010db : C:\Users\Alan\Desktop\WGR2_SIEGEBREAKER_200\mapster32.debug.
exe : crt1.c 
0x401158 : C:\Users\Alan\Desktop\WGR2_SIEGEBREAKER_200\mapster32.debug.
exe : crt1.c 
Failed to init bfd from (C:\Windows\syswow64\kernel32.dll)
0x7640339a : C:\Windows\syswow64\kernel32.dll : BaseThreadInitThunk 
Failed to init bfd from (C:\Windows\SysWOW64\ntdll.dll)
0x77119ed2 : C:\Windows\SysWOW64\ntdll.dll : RtlInitializeExceptionChain 
Failed to init bfd from (C:\Windows\SysWOW64\ntdll.dll)
0x77119ea5 : C:\Windows\SysWOW64\ntdll.dll : RtlInitializeExceptionChain 


This post has been edited by Micky C: 08 August 2011 - 01:21 AM

0

User is offline   Helixhorned 

  • EDuke32 Developer

#470

View PostDeeperThought, on 07 August 2011 - 09:49 PM, said:

@Helixhorned: I can't get printext16 or quote commands to work in 3D mode. Are they supposed to? Those commands work fine in the 2D events, but they do nothing visible for me in EVENT_KEYS3D. I can put stuff in the log in the same block of code, so I know it is being executed, but nothing shows up on screen. I have tried various x y coordinates but it doesn't help.

Yes, the {print/draw}whatever16 are for 2D mode, and the commands ending in 256 are for 3D mode. This naming convention is taken directly off the source, and made sense when "2D mode" meant "16 colors" and 3D mode was synonymous with 256 colors.


View PostMicky C, on 07 August 2011 - 11:02 PM, said:

Helix I know you said to report it when a map gets corrupted, but usually it happens when I'm on a mapping roll, and if I do anything other than map during this period, it breaks the flow.

However I tried inserting a point on a wall, and it immediately crashed the program. So now I have nothing better to do than report it :)
Edit: it happened twice on the same wall, the second time I used the mapster32 debug exe and produced the following crashlog. There's really nothing else I can tell you, so if you think it warrants further investigation, I guess I'll have to send you my map and point out the wall.

Yep, feel free to spam me with maps anytime you want. I see now where the crash comes from, but since you didn't mention the revision number, I'm left to guess the exact line.
edit: it looks like you're using r1955 or r1956. Still, having all the data means I can pinpoint the exact cause of a crash, so a map would be appreciated.
edit2: if the cause was a wall with a void tilenum, it's fixed now.
1

User is offline   Mark 

#471

Mickey, I had the same problem yesterday with the map I'm doing for WGR2. After twice confirming the crash was caused by placing a point on the wall I just deleted the offending sector with that wall and re-made it. Luckily in my case it was a simple sector in an easy to edit area not really tied to anything special. The bad side is now that I edited out the problem from the map I can't contribute to finding the reason it happened in the first place.

For what it's worth, I'm using version 1944 of Eduke.

This post has been edited by Marked: 08 August 2011 - 02:54 PM

0

User is offline   Micky C 

  • Honored Donor

#472

Ah yes I couldn't see them, but the walls had void textures, and it's fixed in the latest version :)
0

User is offline   BrzdaCZ 

#473

SOLVED

I have a little noobish problem: I'm starting with mapster32, managed basic controls and started to make my first map. Only problem is I can't save it. I pressed Ctrl+S like a billion times but it didn't do anything. Do you know why, or what I'm doing wrong? Thx for help!
EDIT: few seconds aafter posting I figured it out (Esc and then S).

This post has been edited by BrzdaCZ: 11 August 2011 - 02:38 AM

0

User is offline   The Commander 

  • I used to be a Brown Fuzzy Fruit, but I've changed bro...

#474

View PostBrzdaCZ, on 11 August 2011 - 02:36 AM, said:

SOLVED

I have a little noobish problem: I'm starting with mapster32, managed basic controls and started to make my first map. Only problem is I can't save it. I pressed Ctrl+S like a billion times but it didn't do anything. Do you know why, or what I'm doing wrong? Thx for help!
EDIT: few seconds aafter posting I figured it out (Esc and then S).

http://infosuite.duke4.net/

Read the guide, it will help you enormously.
0

User is offline   BrzdaCZ 

#475

Thank you!
0

User is offline   Micky C 

  • Honored Donor

#476

Is there a way to paste textures to a loop of walls, in the same way you can allign textures on a loop of walls? For example, I'd like to texture some columns, but there are many sides and I don't want to waste time pasting wall by wall, and it'd be nice if I could to it in one go.
0

User is offline   Helixhorned 

  • EDuke32 Developer

#477

Ctrl-Enter does exactly this. It pastes the clipboard's picnum, shade and pal to the aimed at wall's loop, and if the clipboard itself came from a wall, then also repeat, panning, and cstat.
1

User is offline   Micky C 

  • Honored Donor

#478

I'm unable to collapse verticies in a specific area, with mapster saying "invalid operation, please delete sector" or something like that. I'm working with blank tiles, so that seems to be the cause. Is it easy/possible to fix?

Edit: I can't seem to collapse ANY verticies in my current map. It's asking me to delete or join the sector instead, which is impossible since it's two lone verticies on a wall. I'll see if I can get a log to upload. I'm using r1971.

http://pastebin.com/raw.php?i=5pkr7Aav

This post has been edited by Micky C: 19 August 2011 - 12:50 AM

0

User is offline   Helixhorned 

  • EDuke32 Developer

#479

You mean it's a sector with two walls? Sector-highlight it, and press Ctrl-LShift-DEL.
0

User is offline   Micky C 

  • Honored Donor

#480

No, I mean I can't collapse any verticies on my map at all :)

Edit: yep, it's definitely only my map. I'll see if I can get an older copy to work.

2nd edit: wow, now my current map and a backup map have lost all their sprites. Every time I try to select all the sprites on another backup map with right shift, mapster32 stops responding. You know what would be really handy? A feature where you can copy every sprite from one map directly into another without having to fiddle around with anything. Because there are times when all the sprites get deleted, usually from using the undo feature, and by the time you've realized, the autosave is saved over, and you've done too much work to go back to an old copy. So such a feature would be very useful.

So now my map has no sprites and I can't collapse verticies Posted ImagePosted Image

Edit again: never mind, I'll suck it up do the extra hour's work on a further backup to get it back to where I was before. You've already helped more than enough.

This post has been edited by Micky C: 19 August 2011 - 06:22 PM

0

Share this topic:


  • 42 Pages +
  • « First
  • 14
  • 15
  • 16
  • 17
  • 18
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options