Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
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
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
Users Online
CommonCrawl, Sogou, Bing

Members: 0
Guests: 6
Stats
Files
Topics
Posts
Members
Newest Member
481
3,739
19,386
625
OmarHarrim
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » 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, 9:15 am   Last edited May 7, 2018, 9: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, 2: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, 7: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, 7: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, 7: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 >>