The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Foxglove on December 02, 2011, 02:34:21 AM

Title: r4951 Win XP - Buttons D and U arent working when u click and drag
Post by: Foxglove on December 02, 2011, 02:34:21 AM
Buttons D and U arent working when u click and drag: http://forum.simutrans.com/index.php?topic=8690.new#new
This is it, I dont know why, but when I press U or D then click once, it makes terrain going up/down, but when I drag exactly nothing happens. pak128, if it affects somehow.
Title: Re: r4951 Win XP - Buttons D and U arent working when u click and drag
Post by: Isaac Eiland-Hall on December 02, 2011, 06:40:00 PM
Tested on r4951 winsdl and wingdi, both with openpak from nightly page - works fine there.
Title: Re: r4951 Win XP - Buttons D and U arent working when u click and drag
Post by: Foxglove on December 03, 2011, 05:04:37 AM
Means I should try to set the game up from zero and try again. Sorry.
Title: Re: r4951 Win XP - Buttons D and U arent working when u click and drag
Post by: Isaac Eiland-Hall on December 03, 2011, 05:09:49 AM
No worries, it's always good to have someone else check so you know for sure. ;-)
Title: Re: r4951 Win XP - Buttons D and U arent working when u click and drag
Post by: IgorEliezer on December 03, 2011, 06:51:49 AM
Capslock on? ;)
Title: Re: r4951 Win XP - Buttons D and U arent working when u click and drag
Post by: Foxglove on April 04, 2012, 03:28:12 PM
Humm, Ive got the newest pakset pak128 from nightly builds page, I can drag there, until I started to add my mods there. I've added most of them, they were replacing some goods, catenary and some buildings, also some many new vehicles, after that I am turning the game on and now I cant drag.

Would developers tell me which pak128 file has D and U buttons dragging script so I would not replace it? Thats serious.
Title: Re: r4951 Win XP - Buttons D and U arent working when u click and drag
Post by: DirrrtyDirk on April 04, 2012, 03:55:12 PM
I cannot think of anything except menuconf.tab...
Title: Re: r4951 Win XP - Buttons D and U arent working when u click and drag
Post by: Foxglove on April 04, 2012, 04:01:11 PM
Quote from: DirrrtyDirk on April 04, 2012, 03:55:12 PM
I cannot think of anything except menuconf.tab...
Humm which of lines there are about these two buttons mentioned above? I couldnt find anything due to lack of english knowledge.

Well Ive found them

general_tool[2]=2,2,11,u
general_tool[3]=3,3,11,d

But they are similar in working pak128 and in not working one.

Hmm, even more, my menuconf.tab is identical to menuconf.tab from pak128-1.4.6--102.2.zip
And I was able to drag there.

Does it mean there are some changes in pak files I modified which made it working wrong, and could you help me to find them out?
Title: Re: r4951 Win XP - Buttons D and U arent working when u click and drag
Post by: ӔO on April 04, 2012, 05:52:29 PM
It could be the way the circuitry in your keyboard is laid out.
Title: Re: r4951 Win XP - Buttons D and U arent working when u click and drag
Post by: Foxglove on April 04, 2012, 06:05:39 PM
But if I just do single clicks D and U, they work then. They dont work only if I drag when D/U tool is picked. I mean, it must be not configuration but something else then?
Title: Re: r4951 Win XP - Buttons D and U arent working when u click and drag
Post by: VS on April 05, 2012, 06:18:14 AM
Maybe some change in program? It would be good to know versions of that, too :)
Title: Re: r4951 Win XP - Buttons D and U arent working when u click and drag
Post by: Foxglove on April 05, 2012, 10:42:33 AM
The same version (latest nightly downloaded yesterday night) works different with modified pak128 (buttons are working on clicking only) and with original one (buttons also able to drag).
Title: Re: r4951 Win XP - Buttons D and U arent working when u click and drag
Post by: Dwachs on April 06, 2012, 07:27:46 AM
Sounds strange. You did not start with network mode enabled (with command-line option -server) ?
Title: Re: r4951 Win XP - Buttons D and U arent working when u click and drag
Post by: Foxglove on April 06, 2012, 09:40:22 AM
Yea, I do, I play this in server mode with a friend. It is not possible to drag if server mode is enabled?
Title: Re: r4951 Win XP - Buttons D and U arent working when u click and drag
Post by: Dwachs on April 06, 2012, 11:29:58 AM
No, dragging of terraforming tools, for bridges, tunnels, elevated ways is not allowed/implemented in online mode.
Title: Re: r4951 Win XP - Buttons D and U arent working when u click and drag
Post by: Foxglove on April 06, 2012, 11:39:51 AM
Problems with synchronization then?
Title: Re: r4951 Win XP - Buttons D and U arent working when u click and drag
Post by: kierongreen on April 06, 2012, 11:53:53 AM
Yes if multiple players are using such tools in the same area - while you are performing the drag another player may use a tool which invalidates your intended action.
Title: Re: r4951 Win XP - Buttons D and U arent working when u click and drag
Post by: Dwachs on April 22, 2012, 09:14:59 AM
Dragging of lower & raise tools for network games is now implemented. Please check out r 5651. Of course, there will be a delay between mouse movement and terraform action.
Title: Re: r4951 Win XP - Buttons D and U arent working when u click and drag
Post by: Foxglove on May 03, 2012, 07:21:46 PM
Awesome! Thank you guys!