Login
User Name:

Password:



Register

Forgot your password?
Dusting off the old code...
Jul 15, 2019 10:53 pm
By InfiniteAxis
Forum Search/User Post History
May 13, 2019 12:43 pm
By Keirath
AFKMud 2.2.2
Mar 3, 2019 5:35 pm
By Samson
Development
Nov 28, 2018 12:10 pm
By Keirath
First Immortal
Oct 12, 2018 2:02 pm
By GatewaySysop
SmaugFUSS 1.9.3
Author: Various
Submitted by: Samson
AFKMud 2.2.2
Author: AFKMud Team
Submitted by: Samson
tintin++ ogg sound player script for linux
Author: Robert Smith
Submitted by: Vladaar
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
Users Online
CommonCrawl

Members: 0
Guests: 0
Stats
Files
Topics
Posts
Members
Newest Member
482
3,748
19,405
575
zoinks

Today's Birthdays
Rane (43)
» SmaugMuds » Codebases » SmaugFUSS » KaVir's Protocol Snip
Forum Rules | Mark all | Recent Posts

KaVir's Protocol Snip
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 May 7, 2018 11:15 am   Last edited May 7, 2018 11:15 am by joeyfogas
Go to the top of the page
Go to the bottom of the page

joeyfogas
Apprentice
GroupMembers
Posts77
JoinedAug 28, 2016

 
I am using the protocol snip located here:

https://github.com/Xavious/MSDP_Protocol_Handler

following the smaug instructions. I am seeing these errors:

protocol.c: In function ‘protocol_t* ProtocolCreate()’:
protocol.c:292: error: invalid conversion from ‘void*’ to ‘protocol_t*’
protocol.c:316: error: invalid conversion from ‘void*’ to ‘MSDP_t**’
protocol.c:320: error: invalid conversion from ‘void*’ to ‘MSDP_t*’
protocol.c: In function ‘void MSDPSetTable(descriptor_t*, variable_t, const char*)’:
protocol.c:1416: error: invalid conversion from ‘void*’ to ‘char*’
protocol.c: In function ‘void MSDPSetArray(descriptor_t*, variable_t, const char*)’:
protocol.c:1452: error: invalid conversion from ‘void*’ to ‘char*’
protocol.c: In function ‘void SoundSend(descriptor_t*, const char*)’:
protocol.c:1557: warning: comparison between signed and unsigned integer expressions
protocol.c:1560: error: invalid conversion from ‘void*’ to ‘char*’
protocol.c: In function ‘void PerformSubnegotiation(descriptor_t*, char, char*, int)’:
protocol.c:1987: error: invalid conversion from ‘void*’ to ‘char*’
protocol.c: In function ‘void ExecuteMSDPPair(descriptor_t*, const char*, const char*)’:
protocol.c:2453: error: invalid conversion from ‘void*’ to ‘char*’
protocol.c: In function ‘char* AllocString(const char*)’:
protocol.c:2880: error: invalid conversion from ‘void*’ to ‘char*’


was hopeful someone had done this on smaugfuss and could assist

Post is unread #2 May 8, 2018 4:13 pm   
Go to the top of the page
Go to the bottom of the page

joeyfogas
Apprentice
GroupMembers
Posts77
JoinedAug 28, 2016

 
down to linking issues.

../o/act_comm.o: In function `send_rip_screen(char_data*)':
/home/carinus/MASTER/carinus/src/act_comm.c:2478: undefined reference to `write_to_buffer(descriptor_data*, char const*, unsigned int)'
../o/act_comm.o: In function `send_rip_title(char_data*)':
/home/carinus/MASTER/carinus/src/act_comm.c:2494: undefined reference to `write_to_buffer(descriptor_data*, char const*, unsigned int)'
../o/act_comm.o: In function `send_ansi_title(char_data*)':
/home/carinus/MASTER/carinus/src/act_comm.c:2510: undefined reference to `write_to_buffer(descriptor_data*, char const*, unsigned int)'
../o/act_comm.o: In function `send_ascii_title(char_data*)':
/home/carinus/MASTER/carinus/src/act_comm.c:2526: undefined reference to `write_to_buffer(descriptor_data*, char const*, unsigned int)'
../o/color.o: In function `do_color':
/home/carinus/MASTER/carinus/src/color.c:405: undefined reference to `write_to_buffer(descriptor_data*, char const*, unsigned int)'
../o/color.o:/home/carinus/MASTER/carinus/src/color.c:407: more undefined references to `write_to_buffer(descriptor_data*, char const*, unsigned int)' follow
collect2: ld returned 1 exit status

Post is unread #3 May 8, 2018 9:19 pm   
Go to the top of the page
Go to the bottom of the page

joeyfogas
Apprentice
GroupMembers
Posts77
JoinedAug 28, 2016

 
ok here's the update.. i finally got it to compile... everything looking good.. .no warnings...

I boot up the mud... I get the greeting and a new line that says "MXP Enabled"

but..... I can't send any commands... my name, password... nothing lol

edit: I have re-traced all the steps and I did not miss anything that it asked me for. Anyone ever run into this?

Post is unread #4 May 14, 2018 9:17 pm   
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,874
JoinedJul 26, 2005

 
sounds like you might have an issue in your interpret or reading from the input. best thing to do is pick a spot and toss in checks to see if it is getting the input etc...

Post is unread #5 May 15, 2018 9:57 pm   
Go to the top of the page
Go to the bottom of the page

joeyfogas
Apprentice
GroupMembers
Posts77
JoinedAug 28, 2016

 
ok update: There was an instruction in there to change "every instance of d->inbuf to read_buf"... apparently I took that literally and read_from_buffer do NOT need these changes. It is working now that I changed read_from_buffer back.

Pages:<< prev 1 next >>