







C++
struct CNetObj_PlayerInput
{
int m_Direction;
int m_TargetX;
int m_TargetY;
int m_Jump;
int m_Fire;
int m_Hook;
int m_PlayerFlags;
int m_WantedWeapon;
int m_NextWeapon;
int m_PrevWeapon;
};




1
(edited)
C++
CMsgPacker Msg(NETMSG_INPUT, true);
Msg.AddInt(m_aAckGameTick[i]);
Msg.AddInt(m_aPredTick[g_Config.m_ClDummy]);
Msg.AddInt(Size);
...CMsgPacker builds a new message. We tell it we want a input message and then we will the integers in the correct order using the AddInt method



else if(Msg == NETMSG_INPUT)

m_Chat.SendChat(0, "hello");






(edited)

























CClient. I want to trigger making a replay from the class CEmoticon, but I've been struggling (edited)
m_pClient->


















TestWorkflowEnvironment is used to execute UpdateAccountWorkflow. Please create a new TestWorkflowEnvironment for UpdateAccountWorkflow another one of the errors










































make it sends some udp packet to port 8303 if you press "a"

















m_pClient-> 
m_pClient should be accessible like that in all components
Client()






m_pClient->Client()



























git pull && git checkout magic

pkill teeworlds_asmr
kill -9 $(pidof ./teeworlds_asmr) to the rescue



call recv_udp breaks it























CClient::SaveReplay() . What I'm trying to understand is how F1 commands work. I get that you can set one up with Console()->Register(..), but I havent figured out, how you can "trigger" these commands outside of CClient


ExecutLine() hack or just copy paste the code










m_pClient->Client()->void CClient::SaveReplay()m_pClient->Client()->SaveReplay()void CClient::Con_SaveReplay(IConsole::IResult *pResult, void *pUserData)void CClient::SaveReplay(const int Length, const char *pFilename)










m_pClient->Client()->SaveReplay() m_pClient->Client() returns the src/engine/client.h Client, i need the src/engine/client/client.h tho
src/engine/client.h



src/engine/client.h 

syscall it works for me





got udp: 040000513B594605BD0F






lea r8, [udp_srv_addr]&&UdpAddrBuffer in C



dil with dl, do you still get correct data? xd
lea rax, addr or mov rax, [addr] ? xd














4294967208 bytes from the socket?


int *addr_len





























note: rustc unexpectedly overflowed its stack! this is a bug
note: maximum backtrace depth reached, frames may have been lost
note: we would appreciate a report at https://github.com/rust-lang/rust
help: you can increase rustc's stack size by setting RUST_MIN_STACK=16777216
note: backtrace dumped due to SIGSEGV! resuming signal
error: could not compile `client-types` (lib test)




















1









ftell denotes the beginning or the end of the file when opening in append-mode. This was causing the condition io_tell(File) == 0 to always be true, so the CSV header was also written to ddnet-saves.txt every time that a new save code is written. Now, we check if the file already exists before appending and only write the CSV header once when the file does not exist yet.


1












adb logcat if u have that

























































java.lang.NoSuchFieldException?



java.lang.NoSuchFieldException? e.printStackTrace(System.err);





adb logcat on your PC? 

gfx_color_depth is currently unused except to show the correct resolution in the list, we are not settings these SDL flags at the moment




1
<EditText
android:id="@+id/arguments_edit"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:gravity="top"
android:hint="@string/hint_enter_arguments_here" />















at com.pluscubed.logcat.ui.LogcatActivity.onOptionsItemSelected(LogcatActivity.java:627) happens inside a listener in the logcat app

at com.pluscubed.logcat.ui.LogcatActivity.onOptionsItemSelected(LogcatActivity.java:627) happens inside a listener in the logcat app 




























































community: z
.object({
id: z.string(),
icon: z.string(),
admin: z.array(z.string()),
public_key: z.string(),
signature: z.string()
})
.optional(),
altameda_net: z.boolean().optional()