npcs...

NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Locked
IgnitusDragonn
Posts: 219
Joined: Thu May 14, 2020 1:34 pm

npcs...

Post by IgnitusDragonn »

I've made one, but I can't see how to set their schedules, or how I'm supposed to link them with the usecode. The Studio documentation mentions things I can't do, like double clicking an NPC to change their statistics.
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: npcs...

Post by Dominus »

What OS are you using? Currently Exult Studio doesn't support Windows 2k
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
IgnitusDragonn
Posts: 219
Joined: Thu May 14, 2020 1:34 pm

Re: npcs...

Post by IgnitusDragonn »

Windows 98.
SnowyThing
Posts: 135
Joined: Thu May 14, 2020 1:34 pm

Re: npcs...

Post by SnowyThing »

I don't get why everything is designed for 98. Why not a more stable OS like Windows 2k?
IgnitusDragonn
Posts: 219
Joined: Thu May 14, 2020 1:34 pm

Re: npcs...

Post by IgnitusDragonn »

98 is more stable. In my opinion.
SnowyThing
Posts: 135
Joined: Thu May 14, 2020 1:34 pm

Re: npcs...

Post by SnowyThing »

When I used to run 98, I always got bluescreens and constant lock-ups and crashes.

Windows 2k, haven't had one in over a year. Either I've matured and became more 'computer aware' or whatever I did wrong in 98 has a failsafe in 2k.

Dunno.
IgnitusDragonn
Posts: 219
Joined: Thu May 14, 2020 1:34 pm

Re: npcs...

Post by IgnitusDragonn »

Looking at porn can do that to your computer.
Lol j/k
;)
SB-X
Posts: 980
Joined: Thu May 14, 2020 1:34 pm

Re: npcs...

Post by SB-X »

I never had much problems with Win95 compared to 98, so thats
the version of mswindows I use if I use it at all.
drcode
Site Admin
Posts: 2267
Joined: Thu May 14, 2020 1:34 pm

Re: npcs...

Post by drcode »

Actually, ExultStudio is designed for Linux, where it runs fine:-) Ryan (aka Colourless) has been doing the port to Windows.

(I have a Windows98 machine at home, and it crashes at least once a day when it's not being used. It also crashes about 1/4 times when I start up U7 with U7run.)
drcode
Site Admin
Posts: 2267
Joined: Thu May 14, 2020 1:34 pm

Re: npcs...

Post by drcode »

Actually, ExultStudio is designed for Linux, where it runs fine:-) Ryan (aka Colourless) has been doing the port to Windows.

(I have a Windows98 machine at home, and it crashes at least once a day when it's not being used. It also crashes about 1/4 times when I start up U7 with U7run.)
IgnitusDragonn
Posts: 219
Joined: Thu May 14, 2020 1:34 pm

Re: npcs...

Post by IgnitusDragonn »

Haha you made the same post twice, but apparently an hours difference?
SnowyThing
Posts: 135
Joined: Thu May 14, 2020 1:34 pm

Re: npcs...

Post by SnowyThing »

Mmm.. U7Run. Don't use that, Dr. Code. You can play in DOS if you get a SoundBlaster16, a 98 Boot disk and the low memory efficent mouse driver. :) Command prompt after hitting F8 works just as well. But if you want to install the game, you'll need the 98 boot disk. :)

After that, it'll work. (moslo is required though, if you want it to run half decent)
IgnitusDragonn
Posts: 219
Joined: Thu May 14, 2020 1:34 pm

Re: npcs...

Post by IgnitusDragonn »

U7run is a great program, it runs U7 in windows- I mean thats given, but its strictly that- a U7 in windows program.
SnowyThing
Posts: 135
Joined: Thu May 14, 2020 1:34 pm

Re: npcs...

Post by SnowyThing »

Of course, but if you want to run the original with almost no hassle, try what I suggested. :)
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: npcs...

Post by Dominus »

back to helpful discussions :-)
Studio should work fine on Win98 even though the 2nd best setup (after Linux) should have been an NT-based version of Windows but for some reason XP is the only one that it works on (mainly because all the windows users of the team are running XP and we had no one volunteering to help us finding the bug).

So, to help you troubleshoot, you start a game in Exult, then you start the map-editor-mode (ctrl-alt-m). Studio should now start up on its own (don't close the Exult Studio Window). Doubleclicking an NPC should now pop up (or under :-)) a new Studio window with the attributes of that NPC. Does this work for you? Also keep in mind that Exult Studio no longer works with the stable branch.
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
IgnitusDragonn
Posts: 219
Joined: Thu May 14, 2020 1:34 pm

Re: npcs...

Post by IgnitusDragonn »

I don't mean to be rude, but...
WHY THE HELL DOESNT STUDIO WORK UNDER THE STABLE BRANCH?
drcode
Site Admin
Posts: 2267
Joined: Thu May 14, 2020 1:34 pm

Re: npcs...

Post by drcode »

Because Studio isn't stable.
IgnitusDragonn
Posts: 219
Joined: Thu May 14, 2020 1:34 pm

Re: npcs...

Post by IgnitusDragonn »

Alright, I'll accept that lol, but why isn't it loading studio when I press alt+m in the new snapshot (of both exult and studio)
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: npcs...

Post by Dominus »

once again: are you using the unstable branch snapshot? do you have exult_studio.exe in the same dir as exult.exe ?
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
IgnitusDragonn
Posts: 219
Joined: Thu May 14, 2020 1:34 pm

Re: npcs...

Post by IgnitusDragonn »

yes I am and yes I do.
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: npcs...

Post by Dominus »

ok, then the standard procedure: start a game with exult, go into map-edit mode, after it doesn't start Studio, copy paste your stdout.txt and your stderr.txt

one more idea: do you have cheats enabled ?
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
IgnitusDragonn
Posts: 219
Joined: Thu May 14, 2020 1:34 pm

Re: npcs...

Post by IgnitusDragonn »

STDERR -

Digital SFX's file specified: jmsisfx.flx... but file not found
Setting Shape to 747
Setting Shape to 1028
Setting Shape to 1028
Setting Shape to 1028
Setting Shape to 1029
Setting Shape to 1029
Setting Shape to 1029
Setting Shape to 1029
~Audio: about to stop_music()
~Audio: about to quit subsystem
~Audio: closed audio
~Audio: deleted midi



----STDOUT


Exult version 1.1.0cvs
Built at: Jul 10 2002 17:07:54
Compile-time options: DEBUG, USE_EXULTSTUDIO, HAVE_ZIP_SUPPORT
Compiler: gcc, version: 3.1

Platform: Windows 98 SE Version 4.10 Build 2222
Data path = data
Audio requested frequency 22050, channels 2
Audio actual frequency 22050, channels 2
1 Midi Devices Detected
Listing midi devices:
-1: MIDI Mapper
0: Microsoft GS Wavetable SW Synth
Using device -1: MIDI Mapper
Internal Win32 Midiout Midi Player for Exult and Pentagram.
Audio initialisation OK
is_installed: 'c:\ultima7\static\endgame.dat': yes
is_installed: 'c:\serpent\static\sispeech.spc' : yes
Audio subsystem request: Custom Music track
Starting a SERPENT ISLE game
Okay. It looks like an IFF file chunk
length looks like: 3028232
Current path settings:
Static : c:\serpent\static
Gamedat : c:\serpent\gamedat
Savegame: c:\serpent
Patch : none

Frame count : 1
Width : 320
Height : 200
Depth : 8
Speed : 5
Audio subsystem request: Music track # 28
Frame count : 1
Width : 320
Height : 200
Depth : 8
Speed : 5
Audio subsystem request: Music track # 28
Gamedat identity SILVER SEED
Loading /exult_si.flx...
Loading default keybindings
Audio subsystem request: Music track # 13
NPC #233 is unused
NPC #234 is unused
NPC #235 is unused
NPC #236 is unused
NPC #237 is unused
NPC #238 is unused
NPC #239 is unused
NPC #240 is unused
NPC #241 is unused
NPC #242 is unused
NPC #243 is unused
NPC #244 is unused
NPC #245 is unused
NPC #246 is unused
NPC #247 is unused
NPC #248 is unused
NPC #249 is unused
NPC #250 is unused
NPC #251 is unused
NPC #252 is unused
NPC #253 is unused
NPC #254 is unused
NPC #255 is unused
NPC #286 is unused
NPC #288 is unused
NPC #289 is unused
NPC #290 is unused
NPC #291 is unused
NPC #292 is unused
NPC #296 is unused
NPC #297 is unused
NPC #298 is unused
NPC #299 is unused
NPC #300 is unused
NPC #301 is unused
NPC #302 is unused
NPC #303 is unused
NPC #304 is unused
NPC #305 is unused
NPC #306 is unused
NPC #307 is unused
NPC #308 is unused
NPC #309 is unused
NPC #310 is unused
NPC #311 is unused
NPC #312 is unused
NPC #313 is unused
NPC #314 is unused
NPC #315 is unused
NPC #316 is unused
NPC #317 is unused
NPC #318 is unused
NPC #319 is unused
NPC #320 is unused
NPC #321 is unused
NPC #322 is unused
NPC #323 is unused
NPC #324 is unused
NPC #325 is unused
NPC #326 is unused
NPC #327 is unused
NPC #328 is unused
NPC #329 is unused
NPC #330 is unused
NPC #331 is unused
NPC #332 is unused
NPC #333 is unused
NPC #334 is unused
NPC #335 is unused
NPC #336 is unused
NPC #337 is unused
NPC #338 is unused
NPC #339 is unused
NPC #340 is unused
NPC #341 is unused
NPC #342 is unused
NPC #343 is unused
NPC #344 is unused
NPC #345 is unused
NPC #346 is unused
NPC #347 is unused
NPC #348 is unused
NPC #349 is unused
NPC #350 is unused
NPC #351 is unused
NPC #352 is unused
NPC #353 is unused
NPC #354 is unused
NPC #355 is unused
Using mailslots
Cheats enabled.
Connected to client
Switching to windowed mode.
Game paused
Game resumed
Clicked at tile (412, 2471)
Clicked at tile (412, 2471)
Clicked on flat shape 66:28
TFA[1][0-6]= 0
TFA[0][0-1]= 0
TFA[0][3-4]= 0
Game paused
Game resumed

-----


So yeah, the cheats are enabled. I press F-4 and then Alt-M and it worked, however it doesn't display the data files in Studio(even though it does infact run it)
SnowyThing
Posts: 135
Joined: Thu May 14, 2020 1:34 pm

Re: npcs...

Post by SnowyThing »

What are those Mailslots? DrCode? Anyone? Email between NPC's I bet... those crafy guys.
IgnitusDragonn
Posts: 219
Joined: Thu May 14, 2020 1:34 pm

Re: npcs...

Post by IgnitusDragonn »

*crafty.
Yeah maybe the npc's email each other in warning of the Avatars coming.
I.E: "Avatar I have been expecting you..." Who hasn't heard that one?
Now why on earth would anyone expect some clown to ride up to their doorstep on a magic carpet if it wasnt for the pure prowess of npc's and their email delivery system.
MMP - Medieval Mail Protocol.
SnowyThing
Posts: 135
Joined: Thu May 14, 2020 1:34 pm

Re: npcs...

Post by SnowyThing »

Nonono. It's not MMP.. it's LBMS - Lord British Mail Service.
Each citizen of Britannia must pay Lord British $20 a month to be able to use his 'Britannia-Net'. They first must find a glowing box and a humming box. Then they must find the keenest enchanter in all of the world and cause the box to sprout a modem. Back then, all they had for modem speeds were 'Wisp'. Which in fact is amazingly similar to our '8 baud modems'. Anyways.... the entire machine is enchanted, and then is powered up by an Emp on a wheel, running and running, generating 'Avatar Care' which is their version of AC.
So.... er....
Yeah!
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: npcs...

Post by Dominus »

ok, problem solved. I noticed this before but always forgot to make a bug report.
To make it work now, start as usual and when Studio has loaded up, go to "file->open game" and choose the dir where you installed SI to (mind don't choose the Ststic dir but the dir one level up). Then it should work when you doubleclick an NPC.
Bug will go into the tracker now!
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
drcode
Site Admin
Posts: 2267
Joined: Thu May 14, 2020 1:34 pm

Re: npcs...

Post by drcode »

I think this bug is only in the Win32 version; pretty sure it worked okay in Linux when I tried it last night.
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: npcs...

Post by Dominus »

hm, then you hzave to reassign this to Colourless :-)
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Locked