Comments (4)
Yes you can by disconnecting before it will random you. Whenever hero is banned with IMBA system (red line on hero, you cannot select it, and hero is not faded into red) you can pick it with dota_select_hero console command.
I guess disconnect trick works because code is checking if player is actually connected
if PlayerResource:IsValidPlayer(i) and PlayerResource:GetConnectionState(i) == DOTA_CONNECTION_STATE_CONNECTED then
#FixIt
from dota_imba.
It's not as easy as it looks like. If the server select a hero for you when you're offline, once you reconnect you'll be unable to issue any command. I'll take a closer look to find a way using timers maybe.
from dota_imba.
Do you really need timers? Cannot you hook reconnect event and then check if player actually has valid hero?
from dota_imba.
yeah but i'll need timers, iirc there's a delay with the reconnect hook and player being valid
from dota_imba.
Related Issues (20)
- GG System bugs HOT 3
- Custom game crashes during loading after the patch(?) HOT 10
- Witch Doctor Death Ward Bug HOT 2
- Invoker loses his globes after death HOT 1
- command doesnt work HOT 2
- Leshrack - OP
- arcane rapier muted HOT 1
- UI scale for invoker
- Puck picking HOT 1
- stackable tangos HOT 2
- picking puck 2 HOT 1
- IO - not targetable while linked
- [bug] wrong Arcane Nexus spell amp.
- vote kick
- Crash on linux 7.28 HOT 1
- Getting no hero when random
- Picking up a gem crashes the game
- AddCustomTransmitterData() can't find in API
- icon usage problem HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dota_imba.