Author Topic: Scenarios for online games  (Read 7575 times)

0 Members and 1 Guest are viewing this topic.

Offline Yona-TYT

Re: Scenarios for online games
« Reply #35 on: September 11, 2016, 04:11:02 PM »
@Dwachs
Something is restricting the tool "found a new city" for the players but I can not find the cause ... maybe an error ?.
regions2-pak64-1024x1024v3.0_.zip

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4235
  • Total likes: 169
  • Helpful: 149
  • Languages: EN, DE, AT
Re: Scenarios for online games
« Reply #36 on: September 11, 2016, 04:15:25 PM »
@Dwachs
is there a way to get size of the map? ???
yes, from r7863 on: world.get_size()



@Dwachs
Something is restricting the tool "found a new city" for the players but I can not find the cause ... maybe an error ?.
regions2-pak64-1024x1024v3.0_.zip
Please report each new issue in its own thread from now on. It is really hard to follow all that different bug reports and extension requests.
« Last Edit: September 11, 2016, 04:26:36 PM by Isaac.Eiland-Hall »
Parsley, sage, rosemary, and maggikraut.

Offline Yona-TYT

Re: Scenarios for online games
« Reply #37 on: September 11, 2016, 04:19:55 PM »
yes, from r7863 on: world.get_size()
Thank you !.


Please report each new issue in its own thread from now on. It is really hard to follow all that different bug reports and extension requests.
OK I understand .




Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4235
  • Total likes: 169
  • Helpful: 149
  • Languages: EN, DE, AT
Re: Scenarios for online games
« Reply #38 on: September 11, 2016, 04:21:26 PM »
@Dwachs
Something is restricting the tool "found a new city" for the players but I can not find the cause ... maybe an error ?.
regions2-pak64-1024x1024v3.0_.zip
This is the default implementation of is_tool_allowed in script/scenario_base.nut. You have to implement this function yourself to overwrite the default behavior.
Parsley, sage, rosemary, and maggikraut.

Offline Yona-TYT

Re: Scenarios for online games
« Reply #39 on: September 11, 2016, 04:37:10 PM »
Resolved, thanks.  ;D

Offline Yona-TYT

Re: Scenarios for online games
« Reply #40 on: September 16, 2016, 12:32:07 PM »
Upedate:

Scenario: regions-v4.0.zip



The changes are:

- You can configure regions using the public service
- Delete stations is now easier to use, only you need remover tool.
- It's not possible to remove oil platforms. XD


Test In: Rive's Server http://forum.simutrans.com/index.php?topic=14806.msg146173#msg146173


« Last Edit: September 17, 2016, 12:44:42 PM by Yona-TYT »

Offline Yona-TYT

Re: Scenarios for online games
« Reply #41 on: September 18, 2016, 07:44:34 PM »
Upedate:
Scenario: regions-v4.3.zip (Using r7880.)
It is recommended to use r7880 for this: http://forum.simutrans.com/index.php?topic=15748.msg154484#msg154484 ;)

 The changes are:
- Shared regions is now easier, you only need to place a label text to share region, the coordinates are obtained using remover tool.
- Now the region is shared in the info is displayed.

Test In: Rive's Server http://forum.simutrans.com/index.php?topic=14806.msg146173#msg146173


« Last Edit: September 18, 2016, 07:56:39 PM by Yona-TYT »

Offline Yona-TYT

Re: Scenarios for online games
« Reply #42 on: September 19, 2016, 04:34:23 AM »
@River, I will add connections rails and powerlines (it works now), what do you think this ?.






Offline River

Re: Scenarios for online games
« Reply #43 on: September 19, 2016, 12:25:40 PM »
all it does is remove the requirement to share the end of your lines. its a nice added thing but not very important if you ask me.

Offline Yona-TYT

Re: Scenarios for online games
« Reply #44 on: September 20, 2016, 12:49:33 AM »

It would be nice explains this with pictures, but the patch still not incorporated...http://forum.simutrans.com/index.php?topic=15049.0
Though not if work in online mode. ???

Offline Yona-TYT

Re: Scenarios for online games
« Reply #45 on: October 23, 2016, 04:23:07 PM »

@Dwachs
River encountered an error from your server: http://forum.simutrans.com/index.php?topic=14806.msg155358#msg155358
Scenario: regions-4.7-test.zip
It seems that something broke in one of the last nights, now this error:

It does not seem to be a problem with the script. ???


Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4235
  • Total likes: 169
  • Helpful: 149
  • Languages: EN, DE, AT
Re: Scenarios for online games
« Reply #46 on: October 23, 2016, 05:59:38 PM »
I fixed it in  my script:

https://github.com/Dwachs/simutrans-scenarios/blob/master/pak/scenario/achieve/scenario.nut

It was there from the beginning. There were no recent changes that could have triggered the error. Just bad luck :)
Parsley, sage, rosemary, and maggikraut.

Offline Yona-TYT

Re: Scenarios for online games
« Reply #47 on: October 23, 2016, 07:54:14 PM »

It is strange that this has never been seen. :o 
Thank you so much. :thumbsup: 
« Last Edit: October 23, 2016, 08:17:43 PM by Yona-TYT »