[Plugin] xAcademy

pName = ‘xAcademy’
pVersion = ‘0.2.3’
pUrl = ‘https://raw.githubusercontent.com/JellyBitz/phBot-xPlugins/master/xAcademy.py

(phbot.exe) xacademy v2.3 has started to give an error when it comes to updating Can phbot help me Ryan JellBittz

Do you have a chance to show an example, how can I contract the academy?

thank you JellBitz thanks for everything phyton please endless thanks for your help <3 <3 <3 Silkroad online love you ceres player: D phbot love pyhton 3<3

The academy deteriorates 5 minutes after it is completed, and it cannot be restarted immediately like party from, there is a delay about 1.5 2 minutes, is it possible to create without delay?

@Ryan

I added a little system to accept/deny party match join requests by password to xAcademy but to avoid confuse stuffs, I prefer just name it as a new plugin.

Basically it will “lock” party and academy match to accept people with the “password”, improves and shortcuts will be added later.

Master ask for password > Member send password > Master accept or deny.
This to avoid joining undesired people to party or academy through match.

I forgot to mention you have to edit the plugin and set your prefered password. Example:
QUESTION_PASSWORD = "JellyKey :)"

5 Likes

is this correct?

1 Like

vSRO? yes.

1 Like

When we insert the plugins file, the game screen does not open, sro client screen hangs, it needs to be fixed.

Hello Jelly, I understand the point when you have an account that creates the 4 Pjs, but since I do so that the phbot testing identifies the next account that will create the other 4 Pjs, I currently have a sequence of accounts in the manager, grouped from 5 to 5, but without the manager, how can I identify the next account that creates the 4pj? @JellyBitz

Hello Jelly, how are you?
I downloaded the plugins updated until their most recent version
For some reason, ALL plugins work perfectlly except xAcademy
let me show you:
[20:03:11] Plugin: xAutoConfig v0.2.6 successfully loaded

[20:03:11] Plugin: xChat v0.3.2 successfully loaded

[20:03:11] Plugin: xControl v0.4.5 successfully loaded

[20:03:12] Plugin: xLoginController v0.0.3 successfully loaded

[20:03:12] Plugin: xPackeTool v0.1.2 succesfully loaded

[20:03:12] Plugin: xPluginUpdater v0.1.2 succesfully loaded

Plugin: xAcademy.py has failed to load

Could you please help me? I will attach you a pic from how my folder looks.Captura|643x227

Why im getting this error? I really need this plugin to create academy chars-
Does this plugin auto select the chars once the plugin is enabled and with their settings done?
THANK YOU very much for your time and patience…

Already answered, but looks like most people never used batch files…

Using command line from phBot, you can create a console command (CMD) at my account jellybot1 to execute the next through profile names like:

C:/Users/JellyBitz/Downloads/phBot/phBot.exe --privateserver SRLatino --locale private-server --server Alfa --username jellybot2 --password 12345abc --character dummy --startbot --minimize --skipupdates -xacademy-config=jellybot2

Clear enough? :sleepy:

1 Like

Hello jelly, very clear but now a question arises for me, that works for the first account and the second account is opened by cmd, but when I open that second one, it would have to be manually passed in cmd to open the third account or how could the loop to open all my accounts already created sequentially?

Save your Account Data in a File and read each line at startup or something like that

Can you give a detailed explanation about the subject?

will we use the manager to switch to another account?

if we do not use how to create config file can you share an example thanks for your help

Hi! My plugin fails to upload. Im using latest version of academy plugin. Which version are you using?

IDK how to use phyton and I need to create some academy chars. it failes to upload to my phbot…I know I have to edit the plugin but exactly dont know how. I searched in forum for instructions regarding this but still didnt find

Upgrade your python libraries.

Also, as they changed some stuff with declaring global variables inside of functions, some plugins that declare globals on different levels inside a function, or don’t declare them at all, will not load (and also don’t forget about returning True from handle_joymax at the end otherwise sro_client won’t load past the first screen). Saw some @JellyBitz plugins were having this problem so might be it.

As of declaring global variables, it seems you have to declare all global variables you’re gonna use in a function at the very beginning of the function. Outside any ifs or anything.

2 Likes

hey, I tried it with the new phyton, once I deleted python34.dll I had an error and couldnt start bot causw the file was missing, so I just download the phbot again and attached the python 38 folder. I have it like this now this (2) this (1) but still…

[11:12:50] Plugin: xAcademy.py has failed to load

[11:12:50] Plugin: xAutoConfig v0.2.6 successfully loaded

[11:12:51] Plugin: xChat v0.3.2 successfully loaded

[11:12:51] Plugin: xPluginUpdater v0.1.2 succesfully loaded

do you know what else should I try?

Close all your bots, delete the python34 folder inside plugins, as well as pycache, and delete python34.dll.

Put this .dll instead of the python34 one: https://cdn.projecthax.com/plugins/python38.dll

If it still doesnt work you’ll have to wait for @JellyBitz to fix the global variables as I mentioned.