Untagged Release [Cleo/Py] imrpFlags

monday

Expert
Joined
Jun 23, 2014
Messages
1,127
Solutions
1
Reaction score
158
[video=youtube]https://www.youtube.com/watch?v=_I5I7TnD8kk[/video]


Mod for IMRP server which displays flags


Tested using:
-Cleo 4.1
-Sampfuncs 5.3.1
-Samp 0.3.7
-Python 2.7.12


Commands:
Mc14aJE.png



Installation:
1. Extract archive and put "imrpFlags.cs" and "imrpFlags" folder inside your Cleo folder
2. Make sure you have Python 2.7.12 installed (https://www.python.org/downloads/)
-The exact steps I followed: http://www.howtogeek.com/197947/how-to-install-python-on-windows/


Usage:
1. Run imrpFlags.py (it isn't necessary to run it while playing, it just updates the ini and it can be done whenever needed. But running it allows you to update flags without minimalising the game)
2. Run samp


Additional information:
-It was tested only by me so I hope it will work if you follow all the installation steps but no guarantee. 
-If the server IP changes it's necessary to edit imrpFlags/settings.ini file and replace it
-If you edit ini file and add flag manually make sure to type only the first 15 letters of the name


Download:
Check the youtube video description. For some reason the attachent fails to be displayed here
 

Attachments

  • imrpFlags.rar
    174.4 KB · Views: 127

monday

Expert
Joined
Jun 23, 2014
Messages
1,127
Solutions
1
Reaction score
158
RE: [Cleo/Py] imrpInfo

:)

btw it would be more cool if I wasn't wrongly banned for ban evading lol, an admin said I will be unbanned soon but till then I can't test it or update,  anyway thanks to the owner the account data input won't be needed anymore
:foreveralone_hurra:
 

0x32789

Expert
Joined
May 26, 2014
Messages
849
Reaction score
51
Location
LongForgotten <-> 0x32789
RE: [Cleo/Py] imrpInfo

monday said:
:)

btw it would be more cool if I wasn't wrongly banned for ban evading lol, an admin said I will be unbanned soon but till then I can't test it or update,  anyway thanks to the owner the account data input won't be needed anymore
:foreveralone_hurra:

You can ban evade or use VPN at IM?
You have been hacking for like years in that shitty more "gangwars" less "rp" server and they decided to unban you?
Or you hid your identity or change net..
 

Godney

Active member
Joined
Jul 26, 2016
Messages
32
Reaction score
0
RE: [Cleo/Py] imrpInfo

use VPN at IM?
He can't use VPN on IM.
 

Godney

Active member
Joined
Jul 26, 2016
Messages
32
Reaction score
0
RE: [Cleo/Py] imrpInfo

If you are IP banned = you can't use VPN.
If account banned,you can.
Or if not banned,you still can use it but not only when IP banned.
 

monday

Expert
Joined
Jun 23, 2014
Messages
1,127
Solutions
1
Reaction score
158
RE: [Cleo/Py] imrpInfo

it won't work for other servers, it works on italy mafia because their website provides the data
 

monday

Expert
Joined
Jun 23, 2014
Messages
1,127
Solutions
1
Reaction score
158
The updated version works using the following site to get the data http://sa-mp.im/api/v1/players/get
The bad side is that the IP locating service isn't perfect and sometimes provides incorrect flag symbol. It's also possible to get the flag symbols from a different page (http://sa-mp.im/server/players) and it uses a different locating service which also isn't perfect. It would be a good idea to compare both sites and if the flag symbol for a specific player is different then 2 flags could be displayed with a question mark between them. The bad side of this idea is that http://sa-mp.im/server/players requires login before it shares the content which means that it's necessary to provide username and password.

To avoid having a mess with updates/versions/instructions I post a link below to a poll where you could vote which version you'd rather use
http://www.easypolls.net/poll.html?p=57b8a7c8e4b0882ebd833c8b

----------
idk if the site accessibility changed or I'm stupid but it's not needed anymore to login and it compares 2 pages now
 

monday

Expert
Joined
Jun 23, 2014
Messages
1,127
Solutions
1
Reaction score
158
@69156915
do you have the same soft installed?

-Cleo 4.1
-Sampfuncs 5.3.1
-Samp 0.3.7
-Python 2.7.12

What doesn't work exactly? Just the flags not being displayed or also the imrpFlags.py doesn't update the settings.ini when you run it?
Does it crash? And do you get a chatline after logging in saying "imrpFlags mod. Use /imfhelp to see commands"?
 

69156915

New member
Joined
Oct 3, 2014
Messages
3
Reaction score
0
I followed your steps, I put both of the folders in the CLEO folder, installed Python 2.7.12, then pressed imrpFlags.py, logged in game and nothing, tried to use /imfhelp and it says no such command.
 

monday

Expert
Joined
Jun 23, 2014
Messages
1,127
Solutions
1
Reaction score
158
hmm but do you have sampfuncs?
It looks like the IP check isn't passed or lack of sampfuncs makes it not possible to register the command...
Here's a link to a version which could help to diagnose what's the problem. If it's the problematic IP check you should get "Server IP is different that the one at CLEO\imrpFlags\settings.ini" chat message. If that's not the problem then you should get "Stage: Server check passed". If you don't get any chat message then it's most likely sampfuncs problem

http://www.mediafire.com/download/da1r5sr2lzsb5eu/imrpFlags_check.cs
 

69156915

New member
Joined
Oct 3, 2014
Messages
3
Reaction score
0
It says Server IP is different that the one at CLEO\imrpFlags\settings.ini", what I should do now?v I probably got you wrong or something, this is workng only for few servers or for everyone?
 

monday

Expert
Joined
Jun 23, 2014
Messages
1,127
Solutions
1
Reaction score
158
it works only on Italy Mafia roleplay server (because it shares the flag data on their website)
 
Top