Tuesday, July 28, 2015

Revision 4275 - Revision 4279

Revision 4275
Edwards21:

<div class="markdown_content"><p>Map number reservations for 2nd branch of Niji Island. Minor dialogue revision to include a characters real name.</div>

Revision 4276
Edwards21:

<div class="markdown_content"><p>New area: Niji island ravine. Still very much a work in progress.</div>

Revision 4277
Edwards21:

<div class="markdown_content"><p>New lava and rocks autotile. Continuing updates to Niji Lava Fields. Locked out area (since it's not complete yet)</div>

Revision 4278
Edwards21:

<div class="markdown_content"><p>Update to Niji Lava Fields geography. Hoping to have the quest fully live by this weekend.</div>

Revision 4279
Black_imperator: 

<div class="markdown_content"><p>future revamp : fixed a typo in a customer xml,<br>
modified the accept offer system to take girl standing in account (data of standing_gold_expectancy still needs to be updated pending customer classes changes)</div>

Sunday, July 19, 2015

Revision 4257 - Revision 4274

Revision 4257
Grinfire:


<div class="markdown_content"><p>Renamed files in 9 folders in Graphics\Pictures.... </p>
<p>Folders:<br>
Death Note - Misa Amane<br>
Detective Conan - Ai Haibara<br>
Dragon Ball - Android 18<br>
"" - Bulma Briefs<br>
"" - Videl<br>
Dragon Quest 4 - Alena<br>
"" - Maya<br>
"" - Meena<br>
"" - Nera</p>
<p>Files in folder were renamed to a "JOB #.jpg" format.<br>
-"Job #" necessary to function in-game<br>
-".jpg" extension to avoid file doubles with the same name, but different extension</p>
<p>Please contact me, GrinFire, if you happen to commit a change that deals with Graphics\Pictures. I'm going in alphabetical order, np when it is done before I get to the corresponding alphabet. </p>
<p>Thanks All,<br>
Trial Intern</div>

Revision 4258
Lord-Kaumas:

<div class="markdown_content"><p>Added more pictures for Slayers - Lina Inverse</div>

Revision 4259
Lord-Kaumas:

<div class="markdown_content"><p>Added spreadsheets directory and added actor picture statistics in it</div>

Revision 4260
Lillibilli: 

<div class="markdown_content"><p>Fixed the dying old man house in the desert, it will no longer transport you back outside unless you are actually facing the door.</div>

Revision 4261
Lillibilli:

<div class="markdown_content"><p>Fixed Slums Hunter diamond ring quest for older savegames, it should now work as intended on all cases.<br>
Please make note that if you equipped the ring to someone you will not find another and you will not be able to give it to the hunter, unequip the ring before talking to the hunter.</div>

Revision 4262
Lillibilli:

<div class="markdown_content"><p>Restored Turn 0 Conditionals to troop code, event checking was missing during initialization.<br>
Fixes the following:<br>
Cocatrices will not be found in the forest during the night anymore, they will be swapped with Basilisks now.<br>
Spider Queen and Spider Princesses will now summon the minions as soon as the battle start instead of waiting for the first turn to start.<br>
Xalvador is now slightly more chatty during the battle start.</div>

Revision 4263
Lord-Kaumas:

<div class="markdown_content"><p>Added more spreadsheets</p>
<p>Added following info files as well as scripts to make them:<br>
dynamic sprites<br>
ids<br>
stats<br>
traits</p>
<p>pictures is lightly updated</div>

Revision 4264
Lord-Kaumas:

<div class="markdown_content"><p>Spreadsheet: Removed mercenaries from the work picture count</p>
<p>No need to count them as missing pictures as they are intentionally missing those pictures<br>
Also removed the old pictures.txt since it should have been removed in the previous spreadsheet commit</div>

Revision 4265
Lord-Kaumas:

<div class="markdown_content"><p>Enabled mouse click listening to teleporter window</p>
<p>The destinations can now be activated by clicking on the mouse button.<br>
The enter key still works and space has been added as well.</p>
<p>Also the brothel the player is currently in will no longer appear in the list.</div>

Revision 4266
Lord-Kaumas:

<div class="markdown_content"><p>Bugfix: external scripts were not read if the path to the game had non-English characters</div>

Revision 4267
Lillibilli:

<div class="markdown_content"><p>Modified the Options menu to look more like a menu and not a ripoff of the main menu.<br>
Added Autotiles animation speed option to the Options menu, lowering this will help reduce lag in highly animated areas.</p>
<p>Dev info:<br>
Tileset rewrite now uses @@animated_autotiles_frames class variable instead of Animated_Autotiles_Frames constant to figure out the autotiles animation speed, this variable is set during Tileset initialization based on the option menu hash value (or the default 15 if said value is nil).</div>

Revision 4268
Lillibilli:

<div class="markdown_content"><p>(Revamp script)<br>
Updated save system to use the Savegames folders for storage.<br>
Savegame menu now use the dynamic sprite system.</div>

Revision 4269
Lillibilli:

<div class="markdown_content"><p>Merged Slums Hunter new quest code mistakenly reverted in revision 4252.</div>

Revision 4270
grinfire:

<div class="markdown_content"><p>Renamed files in 45 folders in Graphics\Pictures.... </p>
<p>Folders:<br>
Eureka 7 - Anemone<br>
"" - Eureka<br>
Evangelion - Asuka Soryu<br>
"" - Ayanami Rei<br>
"" - Hikari Horaki<br>
"" - Mari Makinami<br>
"" - Misato Katsuragi<br>
Fairy Tail - Erza Scarlet<br>
"" - Juvia Lockser<br>
"" - Levy McGarden<br>
"" - Lisanna Stauss<br>
"" - Lucy Heartfilia<br>
"" - Mirajane Strauss<br>
"" - Wendy Marvell<br>
Fate Stay Night - Illyasviel von Einzbern<br>
"" - Matou Sakura<br>
"" - Saber<br>
"" - Tohsaka Rin<br>
Final Fantasy 3 - Refia<br>
Final Fantasy 4 - Rosa Farrell<br>
"" - Rydia<br>
Final Fantasy 5 - Faris Scherwiz<br>
"" - Krile Baldesion<br>
"" - Lenna Tycoon<br>
Final Fantasy 6 - Celes Chere<br>
"" - Relm Arrowny<br>
"" - Terra Brandford<br>
Final Fantasy 7 - Aerith Gainsborough<br>
"" - Tifa Lockhart<br>
"" - Yuffie Kisaragi<br>
Final Fantasy 8 - Quistis Trepe<br>
"" - Rinoa Heartilly<br>
"" - Selphie Tilmitt<br>
Final Fantasy 9 - Beatrix<br>
"" - Garnet Til Alexandros<br>
Final Fantasy 10 - Lulu<br>
"" - Paine<br>
"" - Rikku<br>
"" - Yuna<br>
Final Fantasy 12 - Ashelia Dalmasca<br>
"" - Fran<br>
"" - Penelo<br>
Final Fantasy 13 - Lightning Farron<br>
"" - Serah Farron<br>
"" - Vanille Oerba</p>
<p>Files in folder were renamed to a "JOB #.jpg" format.<br>
-"Job #" necessary to function in-game<br>
-".jpg" extension to avoid file doubles with the same name, but different extension</p>
<p>Please contact me, GrinFire, if you happen to commit a change that deals with Graphics\Pictures. I'm going in alphabetical order, np when it is done before I get to the corresponding alphabet. </p>
<p>I was gone for a few days and felt like torturing your patience to play the game with a big revision, largest one I have done in one set, for the picture renaming. Relax, I'll likely not do another revision this big in one set again.</p>
<p>Enjoy,<br>
GrinFire</div>

Revision 4271
Lord-Kaumas:

<div class="markdown_content"><p>Added more pictures + renamed one work->Work</div>

Revision 4272
grinfire:

<div class="markdown_content"><p>Changed .jpeg to .jpg extension on one picture</div>

Revision 4273
grinfire:

<div class="markdown_content"><p>Changed order of file name<br>
"Relax Onsen 1"<br>
To <br>
"Relax 14 Onsen"</div>

Revision 4274
Drdrak:

<div class="markdown_content"><p>(Future Revamp)</p>
<p>fixed: New Menu Line 2635 crash Corrected<br>
(Old: @broNum = @subArr<span>[@subInd]</span>.broNum)<br>
(New: @broNum = @subArr<span>[@subInd]</span>.id)</div>

Tuesday, July 7, 2015

Revision 4227 - Revision 4256

Revision 4227
Drdrak: 

<div class="markdown_content"><p>(Future Revamp)</p>
<p>Fix for the transfer girls bug.</p>
<p>appended girls that are assigned to the brothel, but don't have work assignments to the brothel get_occupants method</div>

Revision 4228
Lillibilli: 

<div class="markdown_content"><p>(Revamp script)<br>
Savebreaking revision, don't use old savegames.<br>
Added @brothel_id variable to Brothel_Room classe.<br>
Brothel_Room assign method now stores the @brothel_id variable into the actor @room nested array together with type and room id for future reference. (@broNum is unreliable for mercs)</div>

Revision 4229
Lord-kaumas:

<div class="markdown_content"><p>Added transferPlayer to make map handling easier in brothels</p>
<p>transferPlayer does the same as Transfer Player, except it requires brothel ID and room name, not a map ID.<br>
The function will figure out which room fits the description based on the current room expansions.</p>
<p>This mean a single methond in a a single script is used to determine room configuration and not multiple map events.</p>
<p>The Fishing Hole brothel is currently the only one using this new system.</div>

Revision 4230
Drdrak: 

<div class="markdown_content"><p>(Future Revamp)</p>
<p>Made the lust bar pink -- ish....</div>

Revision 4231
Lord-kaumas:

<div class="markdown_content"><p>Added trandferPlayer code to Heartland Brothel</p>
<p>Also fixed a few map issues (like walking on a table in MainHall)<br>
Added "Teleport Exit" event for later use</div>

Revision 4232
Lillibilli:

<div class="markdown_content"><p>Fixed the leak in the Niji Tower roof, it should no longer rain inside.</p>
<p>(Revamp script)<br>
Merged the cache script and a complied revamp cache.</div>

Revision 4233
Lillibilli:

<div class="markdown_content"><p>Added background to the battle screen's actors info to make it more readable.<br>
Changed classes names color to a lighter pink to be more recognizable for colorblind persons.</div>

Revision 4234
Edwards21: 

<div class="markdown_content"><p>Fixed note length on sound puzzle</div>

Revision 4235
Lord-kaumas:

<div class="markdown_content"><p>More job pictures, primary for categories with no existing pictures</div>

Revision 4236 - Revision 4237 - Revision 4238
Edwards21: 

<div class="markdown_content"><p>Update to Mage Tower. New enemies added. Boss updated. Maybe new music coming soon. Gonna be annoying to navigate now. Enjoy!</div>

Revision 4239
Edwards21:

<div class="markdown_content"><p>Bug correction in Deril, handled a music issue that cropped up.</div>

Revision 4240
Lord-kaumas:

<div class="markdown_content"><p>Converted Harpy's Nest to use transferPlayer + bugfix to command_355 (script handling)</p>
<p>command_355 can now return false if requested by the called method. <br>
transferPlayer needs this to avoid getting stuck in a loop.</div>

Revision 4241
Grinfire: (new guy)

<div class="markdown_content"><p>Renamed files in the first 5 folders in Graphics\Pictures.... </p>
<p>This includes: <br>
Ai Yori Aoshi - Aoi Sakuraba<br>
Ao no Exosis - Shura Kirigakure<br>
Azumanga Daioh - Ayumu Kasuga<br>
"" - Chiyo Mihama<br>
"" - Kagura</p>
<p>Files were renamed to a "JOB #.jpg" format.<br>
-"Job #" necessary to function in-game<br>
-".jpg" extension to avoid file doubles with the same name, but different extension</p>
<p>This is going to be an ongoing project, cheers! <br>
Please contact me, GrinFire, if you happen to commit a change that deals with Graphics\Pictures.</p>
<p>Thanks All,<br>
Trial Intern</div>

Revision 4242
Grinfire:

<div class="markdown_content"><p>Renamed files in 19 folders in Graphics\Pictures.... </p>
<p>Folders: <br>
Azumanga Daioh - Koyomi Mizuhara<br>
"" - Kurosawa Minamo <br>
"" - Sakaki <br>
"" - Tomo Takino<br>
"" - Yukari Tanizaki<br>
Baka to Test to Shoukanjuu - Minami Shimada<br>
Beelzebub - Hilda<br>
Black Lagoon - Balaika<br>
"" - Eda<br>
"" - Revy<br>
Bleach - Arisawa Tatsuki<br>
"" - Isane Kotetsu<br>
"" - Kuchiki Rukia<br>
"" - Kurotsushi Nemu<br>
"" - Kuukaku Shiba<br>
"" - Mashiro Kuna<br>
"" - Momo Hinamori<br>
"" - Nanaoe Ise<br>
"" - Nelliel Tu Odelschwanck</p>
<p>Files in folder were renamed to a "JOB #.jpg" format.<br>
-"Job #" necessary to function in-game<br>
-".jpg" extension to avoid file doubles with the same name, but different extension</p>
<p>Again, please contact me, GrinFire, if you happen to commit a change that deals with Graphics\Pictures. I'm going in alphabetical order, np when it is done before I get to the corresponding alphabet. </p>
<p>Thanks All,<br>
Trial Intern</div>

Revision 4243
Lillibilli:

<div class="markdown_content"><p>(Revamp script)<br>
Added "GoldStash" secret handling whenever a girl gets payed.<br>
Added "Girl_skimming_probability_hash" to database and hashes doc.<br>
Slightly improved "handle_revenue" method to account for the potential skimmed amount, also subtracted payment from customer remaining money.<br>
Slightly "imporved handle_pasttime_effects" to be more straightforward, added payment and skimming calculations.<br>
Added an optional argument to "player" method in Game_Party (defaults to true) to return the id of the player instead of the object when false.<br>
Merged "command_355" method fix (script handling).</div>

Revision 4244
Lord-kaumas:

<div class="markdown_content"><p>Added brothel teleporters + get_character improvement</p>
<p>Girls working as teleporters will now provide a menu of valid destinations instead of a single fixed location.</p>
<p>A valid location would be any brothel you own.</p>
<p>Brothels upgraded to work with the new system:<br>
Harpy's Nest (both in and out)<br>
Mighty Wench Tavern (both in and out)<br>
The Fishing Hole (destination only)<br>
All 3 starting brothels (destination only)</p>
<p>Other brothels will be added once their maps are modified.</p>
<p>For coders:<br>
get_character has been upgraded. In addition to return an event by ID,<br>
it can now also find one based on name.</p>
<p>To select mode, simply supply either a number or a string as argument.<br>
If multiple events have the same name, it will return the one with the lowest ID.</p>
<p>Returns nil if no event fits the description.</div>

Revision 4245
Lord-kaumas:

<div class="markdown_content"><p>get_character now accepts names as argument in addition to ids</p>
<p>get_character has been upgraded. In addition to return an event by ID,<br>
it can now also find one based on name.</p>
<p>To select mode, simply supply either a number or a string as argument.<br>
If multiple events have the same name, it will return the one with the lowest ID.</p>
<p>Returns nil if no event fits the description.</div>

Revision 4346
Grinfire:

<div class="markdown_content"><p>Renamed files in 24 folders in Graphics\Pictures.... </p>
<p>Folders:<br>
Bleach - Orihime Inoue<br>
"" - Rangiku Mastsumoto<br>
"" - Retsu Unohana<br>
"" - Soi-Fon<br>
"" - Tia Harribel<br>
"" - Yoruichi Shihouin<br>
Boku wa Tomodachi ga Sukunai - Sena Kashiwazaki<br>
Breath of Fire - Katt<br>
"" - Nina<br>
Card Captor Sakura - Sakura Kinomoto<br>
"" - Tomoyo Daidouji<br>
Chobitts - Chii<br>
Code Geass - CC<br>
"" - Cornelia Li Brittannia<br>
"" - Milly Ashford<br>
"" - Villetta Nu<br>
Cowboy Beebop - Faye Valentine <br>
Dead or Alive - Ayane<br>
"" - Christie<br>
"" - Hitomi<br>
"" - Kasumi<br>
"" - Leifang<br>
"" - Lisa Hamilton<br>
"" - Tina Armstrong </p>
<p>Files in folder were renamed to a "JOB #.jpg" format.<br>
-"Job #" necessary to function in-game<br>
-".jpg" extension to avoid file doubles with the same name, but different extension</p>
<p>Please contact me, GrinFire, if you happen to commit a change that deals with Graphics\Pictures. I'm going in alphabetical order, np when it is done before I get to the corresponding alphabet. </p>
<p>Thanks All,<br>
Trial Intern</div>

Revision 4247
Lord-kaumas:

<div class="markdown_content"><p>Bugfix to Teleport.rb (class inheritance issue, which caused problems for some people, but not all)</div>

Revision 4248
Lillibilli:

<div class="markdown_content"><p>Rebuilt Slums Hunter questline from scratch, should work as expected now.<br>
Toned down encounter rate in the Deril's Plains and Mage Tower to be more in line with the rest of the game.</div>

Revision 4249
Lillibilli:

<div class="markdown_content"><p>Quick fix for the Slums Hunter Wanderer quest not triggering for old savegames, if the quest was previously bugged it will register as complete now, after 20 days the hunter should offer it again.</div>

Revision 4250
Lord-kaumas:

<div class="markdown_content"><p>Bugfix <a href=/p/hsbr/code/4244/>r4244</a> : Leoril will no longer hang the script when he is done talking in Harpy's Nest</div>

Revision 4251
Lillibili:

<div class="markdown_content"><p>MisterTea's Update:<br>
Added Lili Rochefort (Tekken) to the girl list.</div>

Revision 4252
Lord-kaumas:

<div class="markdown_content"><p>Added teleport events to the rest of the brothels</p>
<p>All teleporter upgrades now work as intended.<br>
If a teleporter is working in the teleport room, then the player can teleport from there to any owned brothel.</p>
<p>Also includes a minor bugfix to get_character, where it could fail to find an event. No map had an event setup, which triggered this bug, meaning no players were affected. However it affected adding more teleporters.</div>

Revision 4253
Lord-kaumas:

<div class="markdown_content"><p>Moved Scripts folder into Data folder</div>

Revision 4254 
Lillibilli:

<div class="markdown_content"><p>Added Blitzfox's dynamic sprite updates, there are no new pieces of equips, but current ones should now work on all body types. (not the girl specific ones though)</div>

Revision 4255
Lord-kaumas:

<div class="markdown_content"><p>Fixed bug in get_character</p>
<p>Loop events based on hash value instead of relying on IDs</div>

Revision 4256
Lord-kaumas:

<div class="markdown_content"><p>Fixed bug that could get the player stuck in the desert starting town</p>
<p>When the guard tells that the player can't enter the building, the player was free to move around while the guard was talking. Once he was done, the player would move one tile down and getting stuck if that path was blocked. Now player movement is disabled until the player is done moving, making the blocked path scenario impossible.</div>

Wednesday, July 1, 2015

Revision 4217 - Revision 4226

Revision 4217
Lillibilli: 


<div class="markdown_content"><p>Fixed a potential bug in one of the scenes of the Niji quest.<br>
Minor typo correction by Blade1301 in one of the quest dialogue.<br>
Added climate data for maps missing it. (Please guys in the future do keep track of what maps are added to the game and in what climate they need to have)</div>


Revision 4218
Edwards21: 


<div class="markdown_content"><p>Adding blank maps for placeholder to be used in Big City Shenanigans.</div>


Revision 4219
Edwards21:


<div class="markdown_content"><p>First City - Military District geography completed! Needs some sprucing up, but early decorations are handled. </p>
<p>Maps 713-716 added, all outdoor City areas. Only Map 713 has any data in it.</div>


Revision 4220
Lillibilli:


<div class="markdown_content"><p>Merged st's shop update, the shops will now show a picture of the currently selected actor, and a bit more info is given.<br>
Skill shop does not yet have the update.</div>

Revision 4221
Drdrak:

<div class="markdown_content"><p>Added girl logs for pastimes</p>
<p>Modified:</p>
<p>def handle_pasttime_effects(cust,pasttime,wants)<br>
to make calls to the logging mthod</p>
<p>and</p>
<p>def handle_girl_log(girl, reason, data = nil, add = false)<br>
to handle those calls</div>


Revision 4222
Lillibilli:


<div class="markdown_content"><p>Significantly improved startup load time by prebuilding a cache of the compiled XMLs data.<br>
Changes to XMLs or States database will need the cache rebuilt or the startup done through XMLs.</p>
<p>Note to devs and modders:<br>
To rebuild the cache open Debug.txt and change the <recompile_cache> tag from false to true and open the game, a prompt will warn you when the cache has been rebuilt, at which point it is possible to turn the tag back to false to enjoy the improved startup time, in alternative you can turn to true the <xml_import> tag, which will make the startup process relay on the XMLs but will not rebuild the cache.</p>
<p>Animations, Tilesets, Common events, System, Enemies, Troops and Maps still use the original rxdata files so changes in the editor for those will register without having to rebuild the cache.</div>


Revision 4223
Lillibilli:


<div class="markdown_content"><p>Fixed tactics system not being cached during cache building, tactics should now work as well as before.</div>


Revision 4224
Lord-kaumas: (the new guy)


<div class="markdown_content"><p>Moved code to pick map for brothel rooms from maps to a central script</p>
<p>As it is a proof of concept for a possible approach, everything in this commit adds to a new directory rather than overwriting/modifying any existing files.</p>
<p>Map selection is simplified a great deal by splitting up the code and only have one purpose for each method.</p>
<p>- one method to look up the map ID for a room. It is given a brothel ID and room name (like 1 and :MainHall) and it returns the room ID with the current room expansions</p>
<p>- maps now move based on transferPlayer, which aims for a room and event rather than map ID and coordinates</p>
<p>Example: transferPlayer(1, :Exterior, "Front Door", :Down)<br>
This will move the player to the outside of brothel 1, stand on the event called "Front Door" and will look down. No need to figure out which mapID the exterior has with the current rooms.</p>
<p>More code is added for stuff like looking up coordinates of events. This is generic coding and will not need updating as more brothels use this setup.</p>
<p>Brothel 1 (The Fishing Hole aka Docks/beach brothen) has upgraded maps as proof of concept.</div>


Revision 4225
Lord0kaumas:


<div class="markdown_content"><p>Missed adding one map in last commit</div>


Revision 4226
Lillibilli:


<div class="markdown_content"><p>Dev only:<br>
Added brothels id constants to the database, under the module BROHELS_ID</p>
<p>list of added constants:<br>
BEGGER_PALACE<br>
FISHING_HOLE<br>
HARPY_NEST<br>
FARMERS_DAUGHTERS<br>
SUNSONG_RANCH<br>
ISLAND_SHACK<br>
DESERT_SHACK<br>
MOUNTAIN_SHACK<br>
RING_OF_FIRE<br>
TAVERN PHOENIX<br>
WAYFARER_HEARTH<br>
LIGHTHOUSE</div>