News: Go to the front page portal to create a Torchmodders account | Visit the wiki!
January 28, 2020, 10:30:32 AM
collapse

*
Information

Please contribute to our


Sign up for a forum account at the Front Page. | Remember to Tag your posts.
Having problems logging in to the forums? Go the front page, log out and back in again.

Author Topic: [BUG] Network play and loading many skills from different sub-directories  (Read 1249 times)

Offline Wolven

  • Operator
  • Unique
  • *
  • Posts: 338
  • Country: no
    • status mod
    • View Profile
  • Mood: mood smiley
I've come across a bug related to player units, skills and network play.

In my mod Classy Classes I've added all the skills from all the classes to the all the base units for all classes. Resulting in each class having access to all skills. It's a pretty simple mod, but it adds a lot of skills to the BASE .DAT file.

The mod works fine when you play single player, but if you try to play in LAN, (and most likely over Internet, I've not tested this) the game will crash as soon as the connecting player is about to enter the game. You can hear the ambient sounds playing, but the game hangs at the load screen and crashes after a few seconds.

After hours of testing I've figured out what's causing the game to crash when trying to play in network. It seems the game can't handle pulling all the skills from four different directories into one player unit when it's connecting via the network.

There is one exception to this, and it's the Outlander. If i load the skills from the other classes in a particular order, I can make a clone of the Outlander come through the network without crashing the game. The class skills most be loaded in reversed alphabetical order in the .dat file: Wanderer, Railman, Berserker, Arbiter. For other classes I can only manage to load one additional class's skills before it crashes. I tried loading the other class skills in all possible combinations on a Berserker and it simply will not work. I've only done extensive testing with a cloned Berserker, but I think the game handles the Outlander differently in the game code. Like it's the first character they made, and it's the base for all others. IDK. This just speculation...

The only way I can see around this issue, is to clone all the skills and place them in the same directory, then assign them all to the player units. I don't know if this will work. There might be a limited number of skills you can assign to one player unit, but I have a feeling it's has to do with the directories where the skill files are located too.

Edit: I've reported this on the Runic boards. It has some more details: http://forums.runicgames.com/viewtopic.php?f=54&t=60119
« Last Edit: September 15, 2014, 12:27:11 AM by Wolven »

Offline Phanjam

  • Operator
  • Legendary
  • *
  • Posts: 2729
  • Country: ph
    • status ready
    • View Profile
  • Mood: mood angel
Re: [BUG] Network play and loading many skills from different sub-directories
« Reply #1 on: September 15, 2014, 12:22:20 AM »
The fact that at least one class comes thru fine would suggest its not a "coded limit to total number of skills" thing. More likely you're other theory about difficulty in dealing with so many layouts, which would be an engine limitation (?). Thats been reported before, tho not in connection with MP-crashing specifically.

And if thats the case, maybe a refinement could be to adjust the class-design to somehow "force choices" in where and when you can assign your points, effectively limiting what you end up investing in.

Your class promise would still hold true; ALL skills are available to the player - it's just that you can't assign points willy-nilly.

I'm also thinking, this is more than just a workaround to the problem of too many layouts, but could give the user a more meaningful play-experience as well (by requiring more thought and planning for your char, basically).

Finally, these are not my original thoughts - they're gytfunke's ideas about a classless character mod :) and it's an idea that I (kinda) remember has come up more than just a few times on the forums in the past.



Tags:
 

* Quick Search


* Member Information

 
 
Welcome, Guest. Please login or register.

* Mod Boards Activity

* Who's Online

  • Dot Guests: 3
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Calendar

January 2020
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 [28] 29 30 31

No calendar events were found.

* Recent Topics

[Tool] another localization tool by Awkward
[Today at 05:55:57 AM]


Variant Classes Mod Information by Awkward
[January 24, 2020, 11:50:50 AM]


What free software do you guys use? by Phanjam
[January 24, 2020, 06:25:40 AM]


Essentials and Tenebris conflict by Awkward
[January 20, 2020, 03:57:51 PM]


[SCRIPT] Automatic Mesh Rebuilding by Kva3imoda
[January 10, 2020, 01:33:48 AM]


FEP+ by Sch123
[January 08, 2020, 05:59:25 AM]


First Topic by Phanjam
[December 01, 2019, 03:05:25 AM]


Trouble with summons by Phanjam
[November 23, 2019, 12:16:19 PM]


Help Making Custom Minion Skills by DiakEagle
[November 18, 2019, 04:11:40 PM]


Diablo II Charms possible in Torchlight II? by Waves_Blade
[November 11, 2019, 05:40:43 PM]


[TOOL] TL2 Translation Utility by Phanjam
[November 06, 2019, 07:11:09 AM]


[Tool] Item Unit file maker Script by Phanjam
[October 21, 2019, 01:36:42 PM]


Will these plans be even possible to do? by Saber
[October 15, 2019, 06:13:17 PM]


Variant Classes Bug Reports by negreanu11
[October 05, 2019, 07:23:09 PM]


Mod Changelogs by Viz
[September 22, 2019, 05:06:52 AM]

* Popular Topics