The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
My hack is causing a "Duplicate Post" Error for some wierd reson.
I'm working on a new talkerbot ALICE mod for v3.7. if you don't know what it is, it's an AI chatbot.
I'm basing it off Cybernetec's Auto Reply mod. https://vborg.vbsupport.ru/showthread.php?t=177933 his mod very nicely auto replies to new threads in a specified forum with a time delay to make it seem more "real". I've moved his one plugin which stores the post trigger & time to his DB over to newreply_post_ajax so it catches all the quick replies. his trigger db has fields id, threadid, readytime, & I added pagetext. when you make a reply, it stores the info to this temp table. when someone hit's forumdisplay after the time has elapsed, it grabs the info out of the temp table and makes the auto reply. if I don't have the hack contact ALICE & just feed it a message to post, it works 100%. if I have it contact ALICE and get a reply it successfully gets the reply, stores it to the temp table, and allows my reply to be made BUT I get a "duplicate post" error. now the duplicate post can not be the auto reply becasue it isn't made then. the autoreply post info is only stored to the temp table at that point. the only post which is made at that point is the actual reply. is it possible that the ALICE code somehow falsely triggers this error? does anyone know what could cause this becasue i don't see anywhere that it could be trying to post more than once. it's not that my plugin is getting called more than once & therefore making a double post becasue like I said, the plugin doens't make a post. it just stores info to the temp table. simply including the ALICE file does not trigger the error. calling the ALICE function does. redirect_duplicatepost is called in function_newreply.php when checking posthash anyone know where I should try looking or what could falsely trigger this error? thanks in advance. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|