among 4 tasks for remaining plugin tasks of remaining 1 task 0.5 is completed i think i think to complete now remaining task. some part of code I get help of search engine ai for regarding unreal engine intrinsics. e.g. this code were (with slightest modifications it worked) were written by search engine ai ->
(there is some code to add here/fix here but nearly complete code i think)
->
without search engine knowing this knowledge, i guess I wouldnt have time enough to parse how unreal engine network mechanism works in detail to get to know how i can setup a specific stun ip port to client code.
so i think of how to implement the stun retrieved ip-port to apply to server and both to client side (since client side also in replication mechanism, its port needs to be not randomly assigned as its like that in default unless configured) without these info given by search engine ai, I would spare least 1 month more to studying network code of engine which is not an easy to parse code to me to one rusted in cpp language alot. (hadnt written cpp code for a lot time)
but some funny topic ->
since my initial design hadnt worked -> (i mean delegate client server impelemtnation mechanism which were not suited for unreal's own udp transport somehow (my mechanism used webrtc data transfer mechanism and over it some delegate client server) then i used this using directly stun ip port in listen server and client ip port mechanism. but as aspected whilst changing it need to remove alot code from webrtc code and also whilst doing thoise changes i had coded very unneat.
when you code you try to code neat. but when you do very alot changes to it, when its design changes actually, sometimes you dont code neat. -> e.g. there is a blatant memory leak in code where char * coide is transfered to unreal side but the library transfers it with memory leak unless plugin sides tackles deletion of. and code has became utterly unneat in that side where getinstance mechanism has disrupted at a point and is utterly very unneat. so code in plugin side became utter unneat in several codes. but i said yep i wont spare time to it. since that refactoring at this point is not necessary indeed. unneat code is like at couple of places indeed not much but still very unnice. but no i wont spare time to fix refactor right now and dont care that both webrtc dll code and library code had became unneat due to relevant changeset. it were not already the perfect code but were still some how neat some. but now at couple of places some changes done due to design changes made code unneat alot at a couple of code places. but wont spare time to it since its not significant. and it does not have some issue to code sanity alike either. i mean code works correct but just the function definitions are coded utter unneat at a couple of places due to some design changes applied etc. i had to change design alot as mentioned before. went to steam approach of using stun based retrieved ip port directly but not as steam approach of dedicated server or protocol modifications. i still use listen server and client mechanism but with stun ip port.
this idea of using stun ip port also were given by ai I queried whether its possible to do such method and it told and defined its possible.
so i think this approach of stun ip port i had alot got help of search engine's ai system in both method and code of in hmm code section of above shared code e.g.
so initially I coded my own code but my method hadnt worked out then i thought this method whterh its possible and then asked from search engine and it told its possible to implement such method and with search engine (google)'s ai's help I managed to implement it some how with less 1 month period. if werent search engine i would spare least 1 month time to code it. or i might be burnt out due to already tired of the plugin tasks which my methodology had alot tasks of webrtc data transfer. but this stun ip port mehtod were lightweight methodology compared to my delegation to webrtc data transfer.
although implementation is not complete. among remaining 1 tasks, 0.5 is complete and 0.5 of is remaining. yep.
Yorumlar
Yorum Gönder