GTAMP.com

Grand Theft Auto Media Press
It is currently Tue Sep 25, 2018 11:34 am

All times are UTC




Post new topic Reply to topic  [ 86 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Author Message
 Post subject: Re: MISI
PostPosted: Sun Mar 25, 2018 11:34 pm 
Offline
Boss
User avatar

Joined: Tue Mar 04, 2008 6:51 am
Posts: 1336
Location: GTAMP.com
I tried a clean install of v11.44 and no longer get the gta2manager error. My normal GTA2 folder has thousands of files and is a huge mess. The exe versions are the same but I had a different version of mss32.dll that I forgot I installed.

I tried copying MISI.ASI into my gta2clean folder. I put STAGEC.SCR in data and building.lua in scripts but seems I'm still missing files. I get this error:

ERROR in LUA script: C:/games/gta2clean/scripts/building.lua:6: attempt to index a nil value (global 'package')

Where does the MISI installer get the gta2 folder from? It keeps installing to gta2 instead of gta2clean. I worked around it by renaming the folders and now my clean GTA2 starts fast with building.txt loaded. I'll try and figure out what slows the loading down in my other GTA2 folder with hundreds of maps.


Top
 Profile  
 
 Post subject: Re: MISI
PostPosted: Mon Mar 26, 2018 12:32 am 
Offline
Hitman

Joined: Wed Dec 09, 2015 2:18 pm
Posts: 167
When installing misi_setup.exe, you must select a new folder. A folder in the folder may have been installed.

The scripts folder should be in the same directory as gta2.exe and MISI.ASI. Also there should be a folder of modules

It looks like this:
GAMEROOT/gta2.exe
GAMEROOT/MISI.ASI
GAMEROOT/MISI.log
GAMEROOT/modules/STAGEC.LUA
GAMEROOT/scripts/buildings.txt
GAMEROOT/scripts/blank.lua
GAMEROOT/scripts/blank.txt
GAMEROOT/data/STAGEC.SCR
GAMEROOT/data/test1.seq

Also to better understand the reason for the error, attach the MISI.log.

_________________
Map F-Industry-Live
MISI Library

Twitter channel @TheNonameGames
My social page in VK https://vk.com/id493973177


Last edited by Logofero on Mon Mar 26, 2018 1:30 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: MISI
PostPosted: Mon Mar 26, 2018 12:42 am 
Offline
Hitman

Joined: Wed Dec 09, 2015 2:18 pm
Posts: 167
It seems I guess what the reason is. Error: "no package". I assume that you have an old version of MISI. The "Package" interface has been included since version 0.3.1b

Solution: Download MISI v0.3.1b and reinstall.

Error 1114 on Windows 10 is solved by turning on the power supply to "Maximum Performance". I have not encountered this problem since I have Windows 7, but on the Internet there is a description of this error and its solutions.

Sector, thanks for the bug reports. It's good that you sorted it out with the GTA2 manager. Apparently, it was perceived by MISI as a neglected game. But at the same time it was clearly written in the log that the version is not supported, which means that MISI was automatically unloaded at the start of the game - this protection. If the game offset is not known then the record in memory will be incorrect.

_________________
Map F-Industry-Live
MISI Library

Twitter channel @TheNonameGames
My social page in VK https://vk.com/id493973177


Last edited by Logofero on Mon Mar 26, 2018 1:34 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: MISI
PostPosted: Mon Mar 26, 2018 1:08 am 
Offline
Hitman

Joined: Wed Dec 09, 2015 2:18 pm
Posts: 167
Car passenger
MISI MOD for GTA2

Author: DenLover
Date: 30 mar 2018
Mod version: v0.2
MISI since version: v0.3.2b

Description:
    Mod allows player to sit on a passenger seat in a car is down key "G".

Bugs:
    If you are trying to throw out of the car when you are in the passenger seat of the game crashes.

Installation:
    * You must have the MISI library installed. You can download it at viewtopic.php?f=4&t=1136#p10506
    ** To work, the mod must be loaded with STAGEC.SCR and require module STAGEC.LUA

    1. Download the archive with the mod.
    2. Extract the script carpassenger.lua to the GTA2/scripts directory.
    3. All. You can run the game and check.
    Enjoy!

Download


Attachments:
misi_mod_carpassenger.7z [1.2 KiB]
Downloaded 207 times

_________________
Map F-Industry-Live
MISI Library

Twitter channel @TheNonameGames
My social page in VK https://vk.com/id493973177


Last edited by Logofero on Sat Mar 31, 2018 12:52 pm, edited 8 times in total.
Top
 Profile  
 
 Post subject: Re: MISI
PostPosted: Mon Mar 26, 2018 2:40 am 
Offline
Boss
User avatar

Joined: Tue Mar 04, 2008 6:51 am
Posts: 1336
Location: GTAMP.com
When releasing LUA scripts, I think it would be good to say if it takes over the SCR. Some people might only want to use scripts that don’t disable the missions.

Ideally we still need to figure out how to spawn things without replacing the entire SCR but I know that will be difficult to do without crashing.


Top
 Profile  
 
 Post subject: Re: MISI
PostPosted: Mon Mar 26, 2018 11:40 am 
Offline
Hitman

Joined: Wed Dec 09, 2015 2:18 pm
Posts: 167
Sektor wrote:
When releasing LUA scripts, I think it would be good to say if it takes over the SCR. Some people might only want to use scripts that don’t disable the missions.

Ideally we still need to figure out how to spawn things without replacing the entire SCR but I know that will be difficult to do without crashing.
Yes, possible. True, the person who picks up the mod should understand at least some of the options of MISI, otherwise it will not start anything. And when you "fly" out, most likely he will not have the desire to use this library. MISI for bright fans and experimenters.

At the expense of missions controversial. To create new conditions (logic), it is better to use new opportunities. Mission can be rewritten to LUA. Of course it's better to do it with a stable version then it will make sense. But I do not guarantee its release.

_________________
Map F-Industry-Live
MISI Library

Twitter channel @TheNonameGames
My social page in VK https://vk.com/id493973177


Top
 Profile  
 
 Post subject: Re: MISI
PostPosted: Thu Mar 29, 2018 1:51 pm 
Offline
Hitman

Joined: Wed Dec 09, 2015 2:18 pm
Posts: 167

_________________
Map F-Industry-Live
MISI Library

Twitter channel @TheNonameGames
My social page in VK https://vk.com/id493973177


Top
 Profile  
 
 Post subject: Re: MISI
PostPosted: Thu Mar 29, 2018 6:42 pm 
Offline
Car Jacker

Joined: Fri Oct 14, 2016 1:32 am
Posts: 41
Nice. what other addresses do you need or want still?


Top
 Profile  
 
 Post subject: Re: MISI
PostPosted: Thu Mar 29, 2018 7:04 pm 
Offline
Hitman

Joined: Wed Dec 09, 2015 2:18 pm
Posts: 167
BeepBoop wrote:
Nice. what other addresses do you need or want still?
The main work on the MISI project is completed. Then there will be only fixes.

If you have a desire to share the addresses, you can post them in this thread viewtopic.php?f=4&t=700#p8337

I'm sure there will be people who will be grateful to you.

_________________
Map F-Industry-Live
MISI Library

Twitter channel @TheNonameGames
My social page in VK https://vk.com/id493973177


Top
 Profile  
 
 Post subject: Re: MISI
PostPosted: Fri Mar 30, 2018 8:58 pm 
Offline
Hitman

Joined: Wed Dec 09, 2015 2:18 pm
Posts: 167
v0.3.2b 26 mar 2018
No public version

    * Minor changes in the script loader
    * Minor changes in READMEEN.TXT and READMERU.TXT
    * Added description of methods to documentation:
    GetPedCurrentCarDoorID(ped)
    GetPedFromPoint(x, y, z, range)
    SetPedCurrentCarDoorID(ped, doorid)
    DeletePedSprite(ped)
    GetCarFromPoint(x, y, z, range)

v0.3.3b 30 mar 2018
MD5 7f1844637131252def3e8cb70166aba2 MISI.ASI

    * Minor changes in the script loader. Added delay (100 ms) before downloading the script thread
    * Added text Contributers in READMEEN.TXT and READMERU.TXT
    * Added occupation type in Docs/ped.inc
    * Fixed example buldings.txt
    * All methods in the modules are placed in classes (LUA tables)
    * Changed license ELUA to Public Domain
    * Source codes are open

Download link is available in the topic header viewtopic.php?f=4&t=1136#p10506

_________________
Map F-Industry-Live
MISI Library

Twitter channel @TheNonameGames
My social page in VK https://vk.com/id493973177


Top
 Profile  
 
 Post subject: Re: MISI
PostPosted: Sat Mar 31, 2018 12:37 pm 
Offline
Hitman

Joined: Wed Dec 09, 2015 2:18 pm
Posts: 167
Walk mode
MISI MOD for GTA2

Author: DenLover
Date: 30 mar 2018
Mod version: v0.2
MISI since version: v0.2.1b

Description:
    Press key "CTRL" for walking.

Installation:
    * You must have the MISI library installed. You can download it at viewtopic.php?f=4&t=1136#p10506

    1. Download the archive with the mod.
    2. Extract the script walkmode.lua to the GTA2/scripts directory.
    3. All. You can run the game and check.
    Enjoy!

Download


Attachments:
misi_mode_walkmode.7z [899 Bytes]
Downloaded 201 times

_________________
Map F-Industry-Live
MISI Library

Twitter channel @TheNonameGames
My social page in VK https://vk.com/id493973177
Top
 Profile  
 
 Post subject: Re: MISI
PostPosted: Sun Apr 01, 2018 6:27 am 
Offline
Hitman

Joined: Wed Dec 09, 2015 2:18 pm
Posts: 167
Ambient level
MISI MOD for GTA2

Author: DenLover
Date: 30 mar 2018
Mod version: v0.1
MISI since version: v0.3.3b

Description:
    Press key "9" for increment or key "0" decrement of light.

Installation:
    * You must have the MISI library installed. You can download it at viewtopic.php?f=4&t=1136#p10506
    ** To work, the mod must be loaded with STAGEC.SCR and require module STAGEC.LUA

    1. Download the archive with the mod.
    2. Extract the script ambientlevel.lua to the GTA2/scripts directory.
    3. All. You can run the game and check.
    Enjoy!

Download


Attachments:
misi_mod_ambientlevel.7z [988 Bytes]
Downloaded 204 times

_________________
Map F-Industry-Live
MISI Library

Twitter channel @TheNonameGames
My social page in VK https://vk.com/id493973177
Top
 Profile  
 
PostPosted: Thu Apr 05, 2018 7:45 am 
Offline
Jaywalker

Joined: Wed Apr 04, 2018 9:06 pm
Posts: 8
Alternative Control Scheme
MISI MOD for GTA2

Author: Dege
Date: 04 apr 2018
Mod version: v0.3
MISI since version: v0.3.3b

Description:
    Mod allows player to control the walking character directly with the arrows, like in Hotline Miami (only for the walking part, not for the shooting).
    The controls while driving works normally.

Limitations:
    The standard controls are hardcoded inside the script: if you use different ones you must redeclare them inside the script.
    I've not tested it in multiplayer at all, so this script will probably desync it.

Installation:
    * You must have the MISI library installed. You can download it at viewtopic.php?f=4&t=1136#p10506

    1. Download the archive with the mod.
    2. Extract the script alternative_controls.lua to the GTA2/scripts directory.
    3. You can run the game and check.
    Enjoy!

Download


Attachments:
alternative_controls.7z [1.15 KiB]
Downloaded 192 times
Top
 Profile  
 
 Post subject: Re: MISI
PostPosted: Sun Apr 08, 2018 12:48 pm 
Offline
Hitman

Joined: Wed Dec 09, 2015 2:18 pm
Posts: 167
For more flexible control settings there is a method IsGameKeyPress(player, keycode) description of the key can be found in the doc file MISI/Docs/input.inc

_________________
Map F-Industry-Live
MISI Library

Twitter channel @TheNonameGames
My social page in VK https://vk.com/id493973177


Top
 Profile  
 
 Post subject: Re: MISI
PostPosted: Mon Apr 09, 2018 7:25 pm 
Offline
Hitman

Joined: Wed Dec 09, 2015 2:18 pm
Posts: 167
Warning: "Car passenger" and "Walk mode" mods are already included in gamemode.txt which is included in the v0.4.1 build. All docks, examples and modules (links from the main topic header) are already included in the installer misi_setup.7z, you can install them by selecting (selecting the check boxes) the components you need.

v0.4.1 9 apr 2018
MD5 817cbba67a2eb2bfa4cfd0c3cccae3aa MISI.ASI

    * Improved stability. lua_newthread() is replaced by luaL_newstate(). The main lua state was removed.
    Assynchronous creation of new lua thread from the main state, caused frequent errors due to which at
    the start the scripts flied. Now every script is a new lua state.
    It is recommended not to forget to add wait(ms) to the body of the loop of your script to avoid friezes in the game.
    * Fixed (in module STAGEC.LUA) method Create_ added math.floor
    * Fixed methods: GetArrowPos(arrow), SetArrowPos(arrow, x, y, z)
    Before this method worked only with variables from GetPedPos(ped), GetPosCar(car) and it was not possible to create an object in the specified coordinates
    * Fixed (in module STAGEC.LUA) algorithm for tileid in methods: SetBlockSide and SetBlockLID
    Added calculation of the tile sheet (1 page = 256 tiles) until this maximum tile's id could be 255
    * Removed method GetPedSprite(ped)
    Removed because of small benefit. You can still get the structure of the sprite through ReadProcessMemory(address, size)
    * Added method for "Ped" IsPedDefined(ped)
    The method will check if a ped is created
    * Changed method GetPlayerStruct(ped) to GetPedPlayer(ped)
    The method still returns the structure of the player from the ped. Do not forget to rename this method in your scripts!
    * All MISI methods are now protected from the null structure and the nil value from the LUA.
    If these values ​​were passed to the method, it is not executed and returns false. Note: the return value
    depends on the method, somewhere it is 0, 65535, false, or nil. What exactly are the values ​​returned by the methods read in
    documentation DOCEN.TXT and DOCRU.TXT
    * The description of checked objects is added to the obj.inc
    * Added method in module obj.lua obj.IsValidModel (model)
    The method will check (on the array) the validation model or not
    Checking sifts models that paint the game and that are not visible when you create
    * Changed the speed in the methods GetPedSpeed(ped), GetPedMaxSpeed(ped), SetPedSpeed​​(ped, speed), SetPedMaxSpeed(ped, speed)
    Now the value has a floating point type (divisible/multiplied by 256): 0.8 - slow step (pedestrian), 2.0 - fast step (player), 4.0 - Run (player)
    * Changed the speed in the methods SetCarDirection(car, x, y), GetCarDirection(car), GetCarSpeed(car)
    Now the value has a floating-point type (divisible/multiplied by 16384)
    * Updated all modules
    * Updated STAGEC.SCR (STAGEC.MIS)
    * Added file STAGEC.MMP

Download link is available in the topic header viewtopic.php?f=4&t=1136#p10506

_________________
Map F-Industry-Live
MISI Library

Twitter channel @TheNonameGames
My social page in VK https://vk.com/id493973177


Top
 Profile  
 
 Post subject: Re: MISI
PostPosted: Tue Apr 10, 2018 11:42 am 
Offline
Hitman

Joined: Wed Dec 09, 2015 2:18 pm
Posts: 167

_________________
Map F-Industry-Live
MISI Library

Twitter channel @TheNonameGames
My social page in VK https://vk.com/id493973177


Top
 Profile  
 
 Post subject: Re: MISI
PostPosted: Tue Apr 10, 2018 3:41 pm 
Offline
User avatar

Joined: Sat Dec 26, 2009 11:53 pm
Posts: 1098
thats cool. i always wanted to be able to have dead players drop the weapon they used the last time.

_________________
yur sa'nok ngeyä


Top
 Profile  
 
 Post subject: Re: MISI
PostPosted: Fri Apr 13, 2018 7:20 pm 
Offline
Hitman

Joined: Wed Dec 09, 2015 2:18 pm
Posts: 167
Dege, you will be added to the list of contributors to the next build. Thank for your contribution.

elypter wrote:
thats cool. i always wanted to be able to have dead players drop the weapon they used the last time.
This is indeed so. I also love "Weapon Drop" in games. It gives the game a tactical element.

_________________
Map F-Industry-Live
MISI Library

Twitter channel @TheNonameGames
My social page in VK https://vk.com/id493973177


Top
 Profile  
 
 Post subject: Re: MISI
PostPosted: Thu Apr 19, 2018 4:04 pm 
Offline
Hitman

Joined: Wed Dec 09, 2015 2:18 pm
Posts: 167

_________________
Map F-Industry-Live
MISI Library

Twitter channel @TheNonameGames
My social page in VK https://vk.com/id493973177


Top
 Profile  
 
 Post subject: Re: MISI
PostPosted: Wed Apr 25, 2018 6:32 pm 
Offline
Hitman

Joined: Wed Dec 09, 2015 2:18 pm
Posts: 167
MH Trainer
MISI MOD for GTA2

Author: DenLover
Update: 28 apr 2018
Mod version: v0.2
MISI since version: v0.4.1

Description:
    Money Hack Trainer. Down key "M" for take 10000$

Installation:
    * You must have the MISI library installed. You can download it at viewtopic.php?f=4&t=1136#p10506

    1. Download the archive with the mod.
    2. Extract the script mh_trainer.lua to the GTA2/scripts directory.
    3. All. You can run the game and check.
    Enjoy!

Download


Attachments:
misi_mh_trainer .7z [1.02 KiB]
Downloaded 159 times

_________________
Map F-Industry-Live
MISI Library

Twitter channel @TheNonameGames
My social page in VK https://vk.com/id493973177
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 86 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group