Skip to content
This repository has been archived by the owner on Jul 29, 2023. It is now read-only.

r4 is broken #8

Open
DEntis-T opened this issue Jul 27, 2023 · 2 comments
Open

r4 is broken #8

DEntis-T opened this issue Jul 27, 2023 · 2 comments

Comments

@DEntis-T
Copy link
Contributor

"D++ log"
Starting open.mp server (1.0.1.2409) from commit dcd0190a91e67c99217e8ed3254baeb86733a0e4
Loading component Actors.dll
	Successfully loaded component Actors (1.0.1.2409) with UID c81ca021eae2ad5c
Loading component Checkpoints.dll
	Successfully loaded component Checkpoints (1.0.1.2409) with UID 44a937350d611dde
Loading component Classes.dll
	Successfully loaded component Classes (1.0.1.2409) with UID 8cfb3183976da208
Loading component Console.dll
	Successfully loaded component Console (1.0.1.2409) with UID bfa24e49d0c95ee4
Loading component CustomModels.dll
	Successfully loaded component CustomModels (1.0.1.2409) with UID 15e3cb1e7c77ffff
Loading component Databases.dll
	Successfully loaded component Databases (1.0.1.2409) with UID 80092e7eb5821a96
Loading component Dialogs.dll
	Successfully loaded component Dialogs (1.0.1.2409) with UID 44a111350d611dde
Loading component Fixes.dll
	Successfully loaded component Fixes (1.0.1.2409) with UID b5c615eff0329ff7
Loading component GangZones.dll
	Successfully loaded component GangZones (1.0.1.2409) with UID b3351d11ee8d8056
Loading component LegacyConfig.dll
	Successfully loaded component LegacyConfig (1.0.1.2409) with UID 24ef6216838f9ffc
Loading component LegacyNetwork.dll
	Successfully loaded component RakNetLegacyNetwork (1.0.1.2409) with UID ea9799fd79cf8442
Loading component Menus.dll
	Successfully loaded component Menus (1.0.1.2409) with UID 621e219eb97ee0b2
Loading component Objects.dll
	Successfully loaded component Objects (1.0.1.2409) with UID 59f8415f72da6160
Loading component Pawn.dll
	Successfully loaded component Pawn (1.0.1.2409) with UID 78906cd9f19c36a6
Loading component Pickups.dll
	Successfully loaded component Pickups (1.0.1.2409) with UID cf304faa363dd971
Loading component TextDraws.dll
	Successfully loaded component TextDraws (1.0.1.2409) with UID 9b5dc2b1d15c992a
Loading component TextLabels.dll
	Successfully loaded component TextLabels (1.0.1.2409) with UID a0c57ea80a009742
Loading component Timers.dll
	Successfully loaded component Timers (1.0.1.2409) with UID 2ad8124c5ea257a3
Loading component Unicode.dll
	Successfully loaded component Unicode (1.0.1.2409) with UID 8ffb446f8353922b
Loading component Variables.dll
	Successfully loaded component Variables (1.0.1.2409) with UID 75e121848bc01fa2
Loading component Vehicles.dll
	Successfully loaded component Vehicles (1.0.1.2409) with UID 3f1f62ee9e22ab19
Loaded 21 component(s) from F:\1a-dir_dpp_lang\components
Executing Server Config...
Parsing unknown legacy option discord_bot_token
Parsing unknown legacy option discord_bot_intents
[21:02:49] [Info] Loading plugin: crashdetecte
[21:02:49] [Info] Could not load plugin:
The specified module could not be found.
[21:02:49] [Info] Loading plugin: discord-connector
[21:02:50] [Info]  >> plugin.dc-connector: v0.3.5 successfully loaded.
[21:02:50] [Info] >> DPPcord | INFO: D++ library is being loaded.
[21:02:50] [Info] Legacy Network started on port 7777
[21:02:51] [Info]                                                
[21:02:51] [Info]                                                
[21:02:51] [Info]                                         
[21:02:51] [Info] |======================================|
[21:02:51] [Info]                                         
[21:02:51] [Info]                    D++                  
[21:02:51] [Info]          Compiler is loading...         
[21:02:51] [Info]                                         
[21:02:51] [Info]          Version: 1.0.0-R4         
[21:02:51] [Info]                                         
[21:02:51] [Info]                By: DEntisT              
[21:02:51] [Info]                                         
[21:02:51] [Info] |======================================|
[21:02:51] [Info]                                         
[21:02:51] [Info]                                         
[21:02:51] [Info] >> D++ | SERVER THREAD - Info: Compiling "index.dpp"...
[21:02:51] [Info]                                         
[21:02:51] [Info]                                         
[21:02:51] [Info] >> D++ | COMPILER: Going through the 1st compiler pass.
[21:03:05] [Info] >> D++ | COMPILER: Going through the 2nd compiler pass.
[21:03:06] [Info] >> D++ | SERVER THREAD - Info: Excessive space-tolerance enabled.
[21:03:06] [Info] >> D++ | SERVER THREAD - Info: Warning system has been enabled.
[21:03:06] [Info] >> D++ | SERVER THREAD - Info: Control character updated to: *
[21:03:06] [Info] >> D++ | SERVER THREAD - Info: Excessive space-tolerance enabled.
[21:03:06] [Info] >> D++ | SERVER THREAD - Info: Warning system has been enabled.
[21:03:06] [Info] >> D++ | SERVER THREAD - Info: Control character updated to: *
[21:03:06] [Info]                                                
[21:03:06] [Info]                                         
[21:03:06] [Info]                                         
[21:03:06] [Info] >> D++ | SERVER THREAD - Info: File "index.dpp" and imported modules compiled successfully.
[21:03:06] [Info]                                         
[21:03:06] [Info]                                         
[21:03:09] [Info]                                         
[21:03:09] [Info] |======================================|
[21:03:09] [Info]                                         
[21:03:09] [Info]          Interpreter is loading...      
[21:03:09] [Info]                                         
[21:03:09] [Info] |======================================|
[21:03:09] [Info]                                         
[21:03:09] [Info]                                         
[21:03:09] [Info] >> D++ | SERVER THREAD - Info: Debug component loaded...
[21:03:09] [Info]                                                
[21:03:09] [Info] >> D++ | SERVER THREAD - Info: Reading the project file.
[21:03:09] [Info] >> D++ | SERVER THREAD - Info: Project file for 'MY NEW PROJECT' project loaded.
[21:03:09] [Info] >> D++ | SERVER THREAD - Info: Executing the entry script...
[21:03:09] [Info]                                                
[21:03:09] [Info] |====================| index.dppc |====================|
[21:03:09] [Info]                                                
[21:03:09] [Info] ========================== test.dpp ==========================
[21:03:09] [Info] Test is imported.
[21:03:09] [Info] interesting...
[21:03:09] [Info] TEST_STRING value works!
[21:03:09] [Info] OMG actually works
[21:03:15] [Info] ==========================================
[21:03:15] [Info] Hual is a fucking bitch
[21:03:15] [Info] testfunc works.
[21:03:15] [Info] testfunc works.
[21:03:15] [Info] OH YEAH MAN
[21:03:15] [Info] Unknown command or variable: maxplayers 1000
[21:03:15] [Info] testFunc was called.
[21:03:15] [Info] testFunc returned this.
[21:03:15] [Info] Debug disabled
[21:03:15] [Info] Lmao
[21:03:15] [Info] ========================== vars.dpp ==========================
[21:03:15] [Info] myvar::worked.
[21:03:15] [Info] myvar::worked again.
[21:03:15] [Info] 1 is 1
[21:03:15] [Info] 2 is not 1
[21:03:15] [Info] HOOKED
[21:03:15] [Info] HOOKED 1
[21:03:15] [Info] HOOKED 2
[21:03:15] [Info] ========================== math.dpp ==========================
[21:03:15] [Info] 2
[21:03:15] [Info] 1
[21:03:15] [Info] 22
[21:03:15] [Info] 1
[21:03:16] [Info] 0
[21:03:16] [Info] Math test passed!
[21:03:16] [Info] 2
[21:03:16] [Info] 8
[21:03:16] [Info] ========================== class.dpp ==========================
[21:03:16] [Info] Alexander
[21:03:16] [Info] This is a bulldog.
[21:03:16] [Info] 15
[21:03:16] [Info] Tommy
[21:03:16] [Info] Y_Less
[21:03:16] [Info] Alex
[21:03:16] [Info] 86
[21:03:16] [Info] ========================== args.dpp ==========================
[21:03:16] [Info] Argument passed to a function!
[21:03:16] [Info] Argument passed to a function!
[21:03:16] [Info] Argument passed to a function again!
[21:03:16] [Info] Argument passed to a function again!
[21:03:16] [Info] Biggest if test passed
[21:03:16] [Info] ========================== discord.dpp ==========================
[21:03:16] [Info] Discord was included
[21:03:16] [Info] Discord was included again?
[21:03:16] [Info] 1st format test: test succedeed , hmmm test succedeed
[21:03:16] [Info] test succedeed
[21:03:16] [Info] 1
[21:03:16] [Info] 2
[21:03:16] [Info] 3
[21:03:17] [Info] 4
[21:03:17] [Info] 5
[21:03:17] [Info] 6
[21:03:17] [Info] 7
[21:03:17] [Info] 8
[21:03:17] [Info] 9
[21:03:17] [Info] 10
[21:03:17] [Info] This should be printed only once!
[21:03:17] [Info] This should be printed again!
[21:03:17] [Info] ========================== files.dpp ==========================
[21:03:17] [Info] Files included
[21:03:18] [Info] wrote this nigga
[21:03:18] [Info] 364
[21:03:18] [Info] Funny thing
[21:03:18] [Info] 2134
[21:03:18] [Info] Yield Return WORKS!
[21:03:18] [Info] mega sexy return
[21:03:18] [Info] Syntax works!
[21:03:18] [Info] OmG
[21:03:18] [Info] 2 eeeeeeeeeeeeeeeeee
[21:03:18] [Info] 3 eeeeeeeeeeeeeeeeee
[21:03:18] [Info] 4 eeeeeeeeeeeeeeeeee
[21:03:19] [Info] 5 eeeeeeeeeeeeeeeeee
[21:03:19] [Info] 6 eeeeeeeeeeeeeeeeee
[21:03:19] [Info] 7 eeeeeeeeeeeeeeeeee
[21:03:19] [Info] 8 eeeeeeeeeeeeeeeeee
[21:03:19] [Info] 9 eeeeeeeeeeeeeeeeee
[21:03:19] [Info] 10 eeeeeeeeeeeeeeeeee
[21:03:20] [Info] 11 eeeeeeeeeeeeeeeeee
[21:03:20] [Info] This is still runnin right? 11
[21:03:20] [Info] ========================== inline.dpp ==========================
[21:03:20] [Info] 'InlineTestFunc' is 20
[21:03:20] [Info] Inline works.
[21:03:20] [Info] The inline finally works!
[21:03:20] [Info] Inline works.
[21:03:20] [Info] The inline finally works!
[21:03:20] [Info] Inline works.
[21:03:20] [Info] The inline finally works!
[21:03:20] [Info] Inline works.
[21:03:20] [Info] The inline finally works!
[21:03:20] [Info] LMAO WHAT IS THIS 
[21:03:20] [Info] 'InlineTestFunc' is 20
[21:03:20] [Info] Inline works.
[21:03:20] [Info] The inline finally works!
[21:03:20] [Info] Inline works.
[21:03:20] [Info] The inline finally works!
[21:03:20] [Info] Inline works.
[21:03:20] [Info] The inline finally works!
[21:03:21] [Info] Inline works.
[21:03:21] [Info] The inline finally works!
[21:03:21] [Info] ========================== tasks.dpp ==========================
[21:03:21] [Info] Tasks are working ig
[21:03:21] [Info] ========================== struct.dpp ==========================
[21:03:21] [Info] Struct test included!
[21:03:21] [Info] For loop id 1
[21:03:21] [Info] For loop id 2
[21:03:21] [Info] For loop id 3
[21:03:21] [Info] For loop id 4
[21:03:21] [Info] For loop id 5
[21:03:21] [Info] For loop id 6
[21:03:21] [Info] For loop id 7
[21:03:21] [Info] For loop id 8
[21:03:21] [Info] For loop id 9
[21:03:21] [Info] For loop id 10
[21:03:21] [Info] forlooptestvar (10) is greater than 1
[21:03:21] [Info] forlooptestvar (10) is less than 20
[21:03:21] [Info] forlooptestvar (10) is greater or equal to 10
[21:03:22] [Info] forlooptestvar (10) is greater or equal to 10
[21:03:22] [Info] Lmao else works!
[21:03:22] [Info] 1 and 1 are equal
[21:03:22] [Info] 23 and 32
[21:03:22] [Info] 32 and 0
[21:03:22] [Info] Damn for loop test 1
[21:03:22] [Info] Damn for loop test 2
[21:03:22] [Info] Damn for loop test 3
[21:03:22] [Info] Damn for loop test 4
[21:03:22] [Info] Damn for loop test 5
[21:03:22] [Info] ========================== iter.dpp ==========================
[21:03:22] [Info] foreach test 10
[21:03:22] [Info] foreach test #2 1
[21:03:23] [Info] foreach test #2 10
[21:03:23] [Info] 100
[21:03:23] [Info] 1
[21:03:23] [Info] Lmao ok
[21:03:23] [Info] foreach test #3 364
[21:03:23] [Info] IterClass::iter is defined!
[21:03:23] [Info] foreachtestvar is defined!
[21:03:23] [Info] switchtest is 23
[21:03:23] [Info] This should be in dpp.log in scriptfiles/
[21:03:23] [Info] Printed: Method test #1
[21:03:23] [Info] Method test #1
[21:03:23] [Info] Printed: Method test #2
[21:03:23] [Info] Method test #2
[21:03:23] [Info] MegaFormBoo was sucessfully called
[21:03:23] [Info] data.dpp is imported
[21:03:23] [Info] sscanf
[21:03:23] [Info] is
[21:03:23] [Info] so
[21:03:23] [Info] cool
[21:03:23] [Info] 1
[21:03:23] [Info] 2
[21:03:24] [Info] undeftest is defined
[21:03:24] [Info] 1
[21:03:24] [Info] Did this work?
[21:03:24] [Info] 3.141590
[21:03:24] [Info] 723.419982
[21:03:24] [Info] 6.6000
[21:03:24] [Info] 11
[21:03:24] [Info] 5.40
[21:03:24] [Info] 4.50
[21:03:24] [Info] 230.271911
[21:03:24] [Info] 3.4+3.2 and 6.6 are equal
[21:03:24] [Info] 3.141590 723.419982 'a' 'B' Oh my god
[21:03:24] [Info] 9.869999
[21:03:24] [Info] 'g'
[21:03:24] [Info] 1234234
[21:03:24] [Info] ========================== enum.dpp ==========================
[21:03:24] [Info] 1
[21:03:24] [Info] 2
[21:03:24] [Info] 3
[21:03:24] [Info] 4
[21:03:24] [Info] enum test included
[21:03:24] [Info] 5
[21:03:24] [Info] 5
[21:03:24] [Info] -1
[21:03:24] [Info] 0
[21:03:24] [Info] Test?
[21:03:24] [Info] >> D++ | ERROR (dpp.amx @ dpp_components/dpp_console.inc:35): You need to use '"' to start a string.
[21:03:24] [Info] LOCAL DEBUG: Tried to print the static var
[21:03:24] [Info] Static works here
[21:03:24] [Info] LOCAL DEBUG: Printed static var
[21:03:24] [Info] LOCAL DEBUG: Called statictest for the first time
[21:03:24] [Info] >> D++ | ERROR (dpp.amx @ dpp_components/dpp_console.inc:35): You need to use '"' to start a string.
[21:03:24] [Info] LOCAL DEBUG: Printed static again
[21:03:25] [Info] Static works here
[21:03:25] [Info] LOCAL DEBUG: Printed static var
[21:03:25] [Info] LOCAL DEBUG: Called statictest for the second time
[21:03:25] [Info] 3645
[21:03:25] [Info] 9823
[21:03:25] [Info] Imported 364
[21:03:25] [Info] Imported true
[21:03:25] [Info] Imported Hello World
[21:03:25] [Info] Imported 0.363999
[21:03:25] [Info] Imported 'D'
[21:03:25] [Info] ========================== test.dpp ==========================
[21:03:25] [Info] Test is imported.
[21:03:25] [Info] interesting...
[21:03:25] [Info] TEST_STRING value works!
[21:03:25] [Info] OMG actually works
[21:03:25] [Info] ==========================================
[21:03:25] [Info] Hual is a fucking bitch
[21:03:25] [Info] testfunc works.
[21:03:25] [Info] testfunc works.
[21:03:25] [Info] OH YEAH MAN
[21:03:26] [Info] Unknown command or variable: maxplayers 1000
[21:03:26] [Info] testFunc was called.
[21:03:26] [Info] testFunc returned this.
[21:03:26] [Info] Debug disabled
[21:03:26] [Info] Lmao
[21:03:26] [Info] >> D++ | WARNING (dpp.amx @ dpp_modules/dpp_header.inc:344): There are multiple forms with name "OnGameModeInit" created.
[21:03:26] [Info] ========================== vars.dpp ==========================
[21:03:26] [Info] myvar::worked again.
[21:03:26] [Info] myvar::worked again.
[21:03:26] [Info] 1 is 1
[21:03:26] [Info] 2 is not 1
[21:03:26] [Info] >> D++ | WARNING (dpp.amx @ dpp_modules/dpp_header.inc:344): There are multiple forms with name "functobehooked" created.
[21:03:26] [Info] >> D++ | WARNING (dpp.amx @ dpp_modules/dpp_header.inc:344): There are multiple forms with name "functobehooked" created.
[21:03:26] [Info] HOOKED
[21:03:26] [Info] HOOKED 1
[21:03:26] [Info] HOOKED 2
[21:03:26] [Info] ========================== math.dpp ==========================
[21:03:26] [Info] 2
[21:03:26] [Info] 1
[21:03:26] [Info] 22
[21:03:26] [Info] 1
[21:03:26] [Info] 0
[21:03:26] [Info] Math test passed!
[21:03:26] [Info] 2
[21:03:26] [Info] 8
[21:03:26] [Info] ========================== class.dpp ==========================
[21:03:26] [Info] Alexander
[21:03:26] [Info] This is a bulldog.
[21:03:26] [Info] 15
[21:03:26] [Info] Y_Less
[21:03:26] [Info] Y_Less
[21:03:26] [Info] Alex
[21:03:26] [Info] 86
[21:03:26] [Info] ========================== args.dpp ==========================
[21:03:26] [Info] Argument passed to a function!
[21:03:26] [Info] Argument passed to a function!
[21:03:27] [Info] Argument passed to a function again!
[21:03:27] [Info] Argument passed to a function again!
[21:03:27] [Info] Biggest if test passed
[21:03:27] [Info] ========================== discord.dpp ==========================
[21:03:27] [Info] Discord was included
[21:03:27] [Info] Discord was included again?
[21:03:27] [Info] 1st format test: test succedeed , hmmm test succedeed
[21:03:27] [Info] test succedeed
[21:03:27] [Info] 13
[21:03:27] [Info] 14
[21:03:27] [Info] 15
[21:03:27] [Info] 16
[21:03:27] [Info] 17
[21:03:27] [Info] 18
[21:03:27] [Info] 19
[21:03:28] [Info] 20
[21:03:28] [Info] 21
[21:03:28] [Info] 22
[21:03:28] [Info] 23
[21:03:28] [Info] 24
[21:03:28] [Info] 25
[21:03:28] [Info] 26
[21:03:28] [Info] 27
[21:03:28] [Info] 28
[21:03:28] [Info] 29
[21:03:28] [Info] 30
[21:03:29] [Info] 31
[21:03:29] [Info] 32
[21:03:29] [Info] 33
[21:03:29] [Info] 34
[21:03:29] [Info] 35
[21:03:29] [Info] 36
[21:03:29] [Info] 37
[21:03:29] [Info] 38
[21:03:29] [Info] 39
[21:03:29] [Info] 40
[21:03:29] [Info] 41
[21:03:30] [Info] 42
[21:03:30] [Info] 43
[21:03:30] [Info] 44
[21:03:30] [Info] 45
[21:03:30] [Info] 46
[21:03:30] [Info] 47
[21:03:30] [Info] 48
[21:03:30] [Info] 49
[21:03:30] [Info] 50
[21:03:30] [Info] 51
[21:03:31] [Info] 52
[21:03:31] [Info] 53
[21:03:31] [Info] 54
[21:03:31] [Info] 55
[21:03:31] [Info] 56
[21:03:31] [Info] 57
[21:03:31] [Info] 58
[21:03:31] [Info] 59
[21:03:31] [Info] 60
[21:03:31] [Info] 61
[21:03:32] [Info] 62
[21:03:32] [Info] 63
[21:03:32] [Info] 64
[21:03:32] [Info] 65
[21:03:32] [Info] 66
[21:03:32] [Info] 67
[21:03:32] [Info] 68
[21:03:32] [Info] 69
[21:03:32] [Info] 70
[21:03:32] [Info] 71
[21:03:32] [Info] 72
[21:03:33] [Info] 73
[21:03:33] [Info] 74
[21:03:33] [Info] 75
[21:03:33] [Info] 76
[21:03:33] [Info] 77
[21:03:33] [Info] 78
[21:03:33] [Info] 79
[21:03:33] [Info] 80
[21:03:33] [Info] 81
[21:03:33] [Info] 82
[21:03:34] [Info] 83
[21:03:34] [Info] 84
[21:03:34] [Info] 85
[21:03:34] [Info] 86
[21:03:34] [Info] 87
[21:03:34] [Info] 88
[21:03:34] [Info] 89

@DEntis-T
Copy link
Contributor Author

Bunch of code is ignored and not processed by the tokeniser, also when the interpreter reaches the end it starts to process everything again instead of calling the main function.

@DEntis-T
Copy link
Contributor Author

I have removed the compiler completely, and now only some lines are ignored, and the interpreter doesn't start a second round executing the code.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant