mafia2online / m2o-reborn

Original Mafia2 Multiplayer modification
http://mafia2-online.com
Apache License 2.0
35 stars 15 forks source link

Fixes radio issues #7

Open Vladislav0904 opened 6 years ago

inlife commented 6 years ago

@Tyldar considering amount of commits and nature of changes, this one is better to be squashed into a single commit i believe

Segfaultd commented 6 years ago

I'm trying to look if we can replace those lua calls by SDK stuffs yet

inlife commented 6 years ago

oh sure, if we can that would be even better

Segfaultd commented 6 years ago

So far, I was able to found those ones :

M2::C_RangeMeter::Get()->OpenSeason(50);
M2::C_SpeechSlotManager::Get()->LoadStage(50);
M2::Wrappers::Radio::SetContent("Empire", "all", "Empire_07010");
M2::Wrappers::Radio::SetContent("Classic", "all", "Classic_07010");
M2::Wrappers::Radio::SetContent("Delta", "all", "Delta_07010");

OpenSeaon is not yet working idk why

Segfaultd commented 6 years ago

I've tried and seems that the implementation is crashing. Is it working on ur sides?