Create account / Log in

star smuggler

Topics related to Vassal game modules.

Moderators: uckelman, Tim M

Re: star smuggler

Postby capi3101 » September 19th, 2013, 2:47 am

Now running 3.2.9-svn8828, and my test file is attached. Neither test passed in 3.2.8, but the targeted link test passed in 3.2.9.

I'll begin setting up for anchors then...it'll be far easier for me to build two large HTML charts than to build somewhere in the neighborhood of 300 tiny ones...

BTW, my windows have been doing some wonky things lately size-wise (the text box extends all the way down to the bottom of the screen and I have to resize it to see the main board, have to resize the piece window in a Game Piece Pallette so the Scrollable Menu is visible, things like that). Any pointers on setting their dimensions directly?
Attachments
HTMLTest.vmod
HTML Test Mod
(15.75 KiB) Downloaded 153 times
No matter how many friends you think you have
and no matter how popular you think you are,
the size of your funeral is going to depend on the weather.
capi3101
 
Posts: 122
Joined: July 22nd, 2013, 9:39 pm
Location: Norman, Oklahoma (USA)

Re: star smuggler

Postby uckelman » September 19th, 2013, 8:52 am

Thus spake capi3101:
>
> Now running 3.2.9-svn8828, and my test file is attached. Neither test
> passed in 3.2.8, but the targeted link test passed in 3.2.9.

Your other test isn't ever going to pass, as that's not how the
charts work. When you follow a link, the current chart displays
the document at the URL of the link you followed. The chart has
no way of telling that there's another chart already displaying
the target document.

> BTW, my windows have been doing some wonky things lately size-wise (the
> text box extends all the way down to the bottom of the screen and I have
> to resize it to see the main board, have to resize the piece window in a
> Game Piece Pallette so the Scrollable Menu is visible, things like
> that). Any pointers on setting their dimensions directly?

There might be some sizing information stored in your preferences. Look
in VASSAL/prefs/ for that, in the place where program prefs
are stored on your system.

--
J.
User avatar
uckelman
Site Admin
 
Posts: 8844
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: star smuggler

Postby capi3101 » September 19th, 2013, 1:30 pm

Okay, thanks. So I guess I need to be sure and put a link back to the source page on the destination page then if I don't want mod players to get all kinds of messed up and angry and carted off to prison in a violent rage...

Occurred to me on my walk this morning that there was one more test I needed to run: to target a link on a different HTML file. For example, E001 (an event) makes reference to several of the R2 series (rules), including R201. I want to make sure I can target R201 specifically. And while I'm at it, I'd like to target R201 via the menu as well. A couple of things to check that didn't work in 3.2.8 there.

I am considering putting everything into one large HTML chart at this point. Depends on what happens with the menu system.
No matter how many friends you think you have
and no matter how popular you think you are,
the size of your funeral is going to depend on the weather.
capi3101
 
Posts: 122
Joined: July 22nd, 2013, 9:39 pm
Location: Norman, Oklahoma (USA)

Re: star smuggler

Postby uckelman » September 19th, 2013, 1:46 pm

Thus spake capi3101:
>
> Occurred to me on my walk this morning that there was one more test I
> needed to run: to target a link on a different HTML file.

I tested this myself in the build for which I posted the link. It
should work.

--
J.
User avatar
uckelman
Site Admin
 
Posts: 8844
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: star smuggler

Postby capi3101 » September 19th, 2013, 6:25 pm

Tried out a targeted link to a different HTML this morning; it worked as you said, just leaving the aforementioned problem of the current chart displaying whatever document is at the URL followed. What did not work was trying to access a targeted link from the menu - I'll attach a picture that shows what happens when I attempt to set it up. The mod displayed nothing when tried to access R201 directly through the menu (which is probably to be expected given the error message, right?).
Attachments
this_happens.jpg
A screenshot of an HTML-related error in progress.
this_happens.jpg (252.46 KiB) Viewed 4580 times
No matter how many friends you think you have
and no matter how popular you think you are,
the size of your funeral is going to depend on the weather.
capi3101
 
Posts: 122
Joined: July 22nd, 2013, 9:39 pm
Location: Norman, Oklahoma (USA)

Re: star smuggler

Postby capi3101 » September 21st, 2013, 1:59 pm

Ran the first alpha playtest last night; everything's in as far as I can tell. I did note a few things that needed to be tweaked and I'll attend to them today. I hope to have a beta version ready for public abuse-ment sometime in the next day or two.

This game is irritating...game one, did a Contact try at the Regari spaceport, got mugged, tried to fight and got killed right off the bat. Game two, did a Contact try at the Regari spaceport, got freakin' mugged again, twice, and then couldn't get anywhere because the first guys got all my cash. Third game, hit the bank first, got caught up in a angry mob, got mugged again......I must be playing this thing wrong.
No matter how many friends you think you have
and no matter how popular you think you are,
the size of your funeral is going to depend on the weather.
capi3101
 
Posts: 122
Joined: July 22nd, 2013, 9:39 pm
Location: Norman, Oklahoma (USA)

Re: star smuggler

Postby capi3101 » September 22nd, 2013, 4:12 am

Good enough; here you go, pistolpete.

http://www.vassalengine.org/wiki/Module:Star_Smuggler

If you have any questions about how I've got things set up, lemme know.
No matter how many friends you think you have
and no matter how popular you think you are,
the size of your funeral is going to depend on the weather.
capi3101
 
Posts: 122
Joined: July 22nd, 2013, 9:39 pm
Location: Norman, Oklahoma (USA)

Re: star smuggler

Postby pistolpete » September 22nd, 2013, 9:28 am

Thanks capi3101.
Looks good . will have a lot of fun playing this .
thanks for all your hard work .will let you know if I hit any problems
pistolpete
 
Posts: 8
Joined: July 23rd, 2013, 7:22 pm

Re: star smuggler

Postby pistolpete » September 22nd, 2013, 10:33 am

hiya capi3101
been playing mod for a while now , works great , no probs up to now , once again thanks
pistolpete
pistolpete
 
Posts: 8
Joined: July 23rd, 2013, 7:22 pm

Re: star smuggler

Postby capi3101 » September 22nd, 2013, 6:55 pm

Glad to hear it. Did you have any issues with the size of any of the windows? How about the number marker controls?
No matter how many friends you think you have
and no matter how popular you think you are,
the size of your funeral is going to depend on the weather.
capi3101
 
Posts: 122
Joined: July 22nd, 2013, 9:39 pm
Location: Norman, Oklahoma (USA)

Re: star smuggler

Postby pistolpete » September 22nd, 2013, 7:14 pm

as stated in uckelmans remarks above text box extends all the way down to the bottom of the screen and I have
to resize it to see the main board, have to resize the piece window in a
Game Piece Pallette so the Scrollable Menu is visible.
But I don't see that as a problem, the game works great.
Keep up the good work
pistolpete
 
Posts: 8
Joined: July 23rd, 2013, 7:22 pm

Re: star smuggler

Postby capi3101 » September 23rd, 2013, 4:23 am

Alright - so the window sizing issue is not just me then.

Found the prefs files directory; what specifically am I looking for?

Here - here's the file. Gonna hex out my password but everything else is vanilla straight from the file:

Code: Select all
#Sat Sep 21 23:01:21 CDT 2013
BoundsOfMynkuria\ I=150,150,0,0
Profile=
BoundsOfTalitar\ II=420,420,0,0
BoundsOfByzantium\ I=30,30,0,0
PromptNewLogEnd=true
BoundsOfUruskop=450,450,0,0
BoundsOfNipna\ I=270,270,0,0
PreferredEdgeDelay=200
BoundsOfCrewmember\ 5=870,870,0,0
BoundsOfCrewmember\ 4=840,840,0,0
BoundsOfCrewmember\ 3=810,810,0,0
BoundsOfCrewmember\ 2=780,780,0,0
BoundsOfNipna\ II=300,300,0,0
initialHeap=256
BoundsOfCrewmember\ 1=750,750,0,0
ShowCounterDetails=false
RealName=Stephen Rogers
useArrows=false
BoundsOfNew\ Karma\ II=240,240,0,0
BoundsOfAccount\ Board\ 6=690,690,0,0
movingStacksPickupUnits=false
BoundsOfAccount\ Board\ 5=660,660,0,0
BoundsOfAccount\ Board\ 4=630,630,0,0
PromptNewLogStart=false
BoundsOfAccount\ Board\ 3=600,600,0,0
BoundsOfAccount\ Board\ 2=570,570,0,0
BoundsOfCubro=90,90,0,0
BoundsOfAccount\ Board\ 1=540,540,0,0
promptLogComment=true
singleWindow=true
BoundsOfImperia=120,120,0,0
ChatFont=SansSerif,12
scrollSpeed=50
BoundsOfNew\ Karma\ I=210,210,0,0
BoundsOfRegari=360,360,0,0
BoundsOfChartWindow3=238,260,1042,724
BoundsOfSpringer=720,720,0,0
BoundsOfChartWindow0=0,390,1280,594
BoundsOfAsteroids=0,0,0,0
BoundsOfTalitar\ I=390,390,0,0
BoundsOfShip=321,288,0,0
BoundsOfByzantium\ II=60,60,0,0
BoundsOfRandom\ Planet=480,480,0,0
BoundsOfPalatek=330,330,0,0
SecretName=******************************
BoundsOfMynkuria\ II=180,180,0,0
maximumHeap=512
PreferredDelay=700


And here's my V_Global file.
Code: Select all
#Sun Sep 22 23:03:26 CDT 2013
Locale=en
initialHeap=256
maximumHeap=512
disableD3d=false
welcomeWizard=true
moduleManagerDividerLocation=1053
nextVersionCheck=1465922429489
BoundsOfModuleManager=0,0,1079,467
modulesDir=C\:\\Arctemp
RecentModules=C\:\\Program Files (x86)\\VASSAL\\Modules\\AlienFrontier.vmod,C\:\\Program Files (x86)\\VASSAL\\Modules\\Cosmicencounter2.1_3.2.vmod,C\:\\Program Files (x86)\\VASSAL\\Modules\\EPW-01.vmod,C\:\\VassalMods\\KCP\\KCP.vmod,C\:\\Users\\user\\Raj,E\:\\Mods\\StarSmuggler\\starsmuggler.vmod,C\:\\VassalMods\\Storm_Chaser_0-1.vmod,C\:\\Program Files (x86)\\VASSAL\\Modules\\The_Legend_of_Zelda_TBG.vmod,C\:\\Program Files (x86)\\VASSAL\\Modules\\TI3_VASSAL_v1_02SE.vmod
showServerStatus=false


I should probably mention that I've built six VASSAL mods so far (not counting test mods) and this is the first time I've had any issue with window sizing. (Six is right - four are on the wiki, one I'm using as a utility, and the last......well, I haven't figured out how to recruit playtesters effectively, let's put it at that).

I've also been able to crack open the Star Smuggler build file with 7-zip (I can only extract files, not replace them); is there anywhere I can look in there? I've had some prior experience with deciphering XML.
No matter how many friends you think you have
and no matter how popular you think you are,
the size of your funeral is going to depend on the weather.
capi3101
 
Posts: 122
Joined: July 22nd, 2013, 9:39 pm
Location: Norman, Oklahoma (USA)

Re: star smuggler

Postby uckelman » September 28th, 2013, 8:45 pm

Thus spake capi3101:
> [This message has been edited.]
>
> Alright - so the window sizing issue is not just me then.
>
> Found the prefs files directory; what specifically am I looking for?

If i remember correctly, each of those keys starting with "BoundsOf"
set the bounds for a window.

--
J.
User avatar
uckelman
Site Admin
 
Posts: 8844
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: star smuggler

Postby capi3101 » September 28th, 2013, 9:09 pm

Can't tell which one refers to the Message Box. I also can't figure out which windows ChartWindow0 and ChartWindow3 refer to; I don't have anything with those names anywhere in the mod.
No matter how many friends you think you have
and no matter how popular you think you are,
the size of your funeral is going to depend on the weather.
capi3101
 
Posts: 122
Joined: July 22nd, 2013, 9:39 pm
Location: Norman, Oklahoma (USA)

Re: star smuggler

Postby uckelman » September 29th, 2013, 10:47 am

Thus spake capi3101:
> Can't tell which one refers to the Message Box.

one of these. The only one which does directly is mainWindowHeight,
which you don't have in V_Global.

> I also can't figure out
> which windows ChartWindow0 and ChartWindow3 refer to; I don't have
> anything with those names anywhere in the mod.

No, you wouldn't have anything with those names---ChartWindowN is
something generated by VASSAL counting the charts as they're added.

--
J.
User avatar
uckelman
Site Admin
 
Posts: 8844
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

PreviousNext

Return to Module General Discussion

Who is online

Users browsing this forum: No registered users and 3 guests