Anonimo Posted September 20, 2011 Report Share Posted September 20, 2011 Recently TC is providing a stable core, can keep up around 1k people for more than 2 days without any crash. What I would like to ask, just out of mere curiosity, if it's possible to update the core (thus excluding SAI and mysql in general) without restarting it. I'm not that experienced as programmer to work on a project like that (if it's possible), but I think that as soon as TC becomes uncrashable (utopia?) you should go into that direction, again assuming that it's possible. Thoughts? Link to comment Share on other sites More sharing options...
Xees Posted September 20, 2011 Report Share Posted September 20, 2011 I don't think its possible. well, if they adapted Xeons Scripting project it would be but they did not Link to comment Share on other sites More sharing options...
Athena Posted September 20, 2011 Report Share Posted September 20, 2011 ? if you update the core, and there is c++ changes, you have to restart it. there is no way of updating a running core. edit: unless we modularize all the core and get compiled only certain parts... but dunno if that is possible to do. I think instead of having 2 services (realmserver and worldserver) we have thousands of them (realmserver, masterserver, ahserver, chatserver, kalimdorserver, whateverserver, etc...). Think this way you could compile and restart only those that get changed. Link to comment Share on other sites More sharing options...
Zaranthos Posted September 20, 2011 Report Share Posted September 20, 2011 A server that never needed to be shut down wouldn't be Blizzlike. 1 Link to comment Share on other sites More sharing options...
Athena Posted September 20, 2011 Report Share Posted September 20, 2011 A server that never needed to be shut down wouldn't be Blizzlike. LooooooL Link to comment Share on other sites More sharing options...
ZxBiohazardZx Posted September 20, 2011 Report Share Posted September 20, 2011 ? if you update the core, and there is c++ changes, you have to restart it. there is no way of updating a running core. edit: unless we modularize all the core and get compiled only certain parts... but dunno if that is possible to do. I think instead of having 2 services (realmserver and worldserver) we have thousands of them (realmserver, masterserver, ahserver, chatserver, kalimdorserver, whateverserver, etc...). Think this way you could compile and restart only those that get changed. this is actually blizzlike, but harder to implement, i think that Encore actually was going for modules but im not sure Link to comment Share on other sites More sharing options...
Lorac Posted September 25, 2011 Report Share Posted September 25, 2011 Looking at Encore its is going cluster and that in my opinion is the way to go Link to comment Share on other sites More sharing options...
Kaelima Posted September 26, 2011 Report Share Posted September 26, 2011 It is not easy to implement the functionality of cluster servers to TrinityCore. Link to comment Share on other sites More sharing options...
Chazy Chaz Posted October 9, 2011 Report Share Posted October 9, 2011 wow currently made changes on his core without restart. The Hotfixes are recently implemented on official servers and the core still c++ Link to comment Share on other sites More sharing options...
xdc Posted October 9, 2011 Report Share Posted October 9, 2011 Like Ksplice just for Trinity. Not impossible, but worth the work ? Unlikely Link to comment Share on other sites More sharing options...
Nay Posted June 16, 2016 Report Share Posted June 16, 2016 On 20/09/2011 at 1:17 PM, Anonimo said: What I would like to ask, just out of mere curiosity, if it's possible to update the core (thus excluding SAI and mysql in general) without restarting it. 5 years later, yes, it's possible. https://trinitycore.atlassian.net/wiki/display/tc/Using+the+script+hotswapping+system 3 Link to comment Share on other sites More sharing options...
Recommended Posts