Search found 155 matches
- 25 Oct 2017, 11:08
- Forum: ManiaScript
- Topic: CManiaAppTitle - How I can access it
- Replies: 7
- Views: 2258
Re: CManiaAppTitle - How I can access it
It's the scope of the custom menu script.
- 23 Sep 2017, 10:06
- Forum: ManiaScript
- Topic: [Help] [Solved] SkillPoints number in Manialink
- Replies: 26
- Views: 8588
Re: [Help] SkillPoints number in Manialink
UserMgr is available in your CManiaApp (or CManiaAppTitle). Everytime you are in your UI-Manialink-script (UILayer.ManialinkPage = """...<script>{{{here}}}</script>...""") you have the context CMlScript (or CManiaAppTitleLayer). You can always check with log(This); whic...
- 07 Sep 2017, 11:59
- Forum: MediaTracker
- Topic: [Question] How to add a custom camera to a replay
- Replies: 4
- Views: 11311
Re: [Question] How to add a custom camera to a replay
In your screenshot there already is a camera track. To add a new camera block you have to remove the previous one or add a new block before or after the existing one on the same track.
- 06 Sep 2017, 17:55
- Forum: ManiaScript
- Topic: [Help] [Solved] SkillPoints number in Manialink
- Replies: 26
- Views: 8588
Re: [Help] SkillPoints number in Manialink
If you have LocalUser try using this one? (LocalUser.Id)
- 26 Aug 2017, 17:29
- Forum: ManiaScript
- Topic: create characters from unicode sequence
- Replies: 0
- Views: 1081
create characters from unicode sequence
My JSON parser perceives unicode escape sequences (\uxxxx) of course as single characters. However I would like to display the actual character which seems not possible to me right now. Code like "\uxxxx" yields as "Incorrect escape sequence". I could imagine something like TextL...
- 20 Aug 2017, 08:09
- Forum: Maniaplanet Web Services
- Topic: [Swagger] incorrect query strings
- Replies: 0
- Views: 8060
[Swagger] incorrect query strings
Array-arguments are expected as <argument>[]=<value> but swagger just puts in the argument as it is. Example: https://v4.live.maniaplanet.com/swagger#!/default/get_webservices_servers_online Appearently the array-type has to be set like "items": { "type": "string" } wit...
- 20 Aug 2017, 07:55
- Forum: Title Pack & Custom Data Creation
- Topic: List of Titlepack servers
- Replies: 5
- Views: 2994
Re: List of Titlepack servers
Swagger seems to build wrong query strings: to use these array-arguments you have to use <argument>[]=... for each value, so e.g. https://www.maniaplanet.com/webservices/servers/online?orderBy=playerCount&titleUids[]=RPG@tmrpg To request for multiple values you would have multiple <argument>[] p...
- 19 Aug 2017, 19:37
- Forum: ManiaScript
- Topic: Open files dialog with replays?
- Replies: 4
- Views: 1689
Re: Open files dialog with replays?
I don't think there is a ready-to-use dialog. With DataFileMgr.Replay_GetGameList() (https://maniaplanet.github.io/maniascript-reference/struct_c_data_file_mgr.html) you should be able to retrieve the replay-files and then display a list to choose from. As general tipp: look into the documentation o...
- 19 Aug 2017, 17:58
- Forum: Title Pack & Custom Data Creation
- Topic: List of Titlepack servers
- Replies: 5
- Views: 2994
Re: List of Titlepack servers
You request them from the webservices: https://v4.live.maniaplanet.com/swagger ... ers_online
- 12 Aug 2017, 21:00
- Forum: ManiaScript
- Topic: Is there possiblity how to get from custom menu to painter?
- Replies: 7
- Views: 2917
Re: Is there possiblity how to get from custom menu to painter?
[I haden't done anything with titlepacks before so this might not be the best way to do things] I created a main-script, which I set as menu in the titlepack xml (/maniaplanet_title/menu/manialink) looking like this: #RequireContext CManiaAppTitle #Const ScriptName "Menu.Script.txt" Text M...